RosettaCodeData/Task/Function-definition/68000-Assembly/function-definition.68000

13 lines
163 B
Plaintext

MOVE.L D0,#$0200
MOVE.L D1,#$0400
JSR doMultiply
;rest of program
JMP $ ;halt
;;;;; somewhere far away from the code above
doMultiply:
MULU D0,D1
RTS