RosettaCodeData/Task/Function-definition/68000-Assembly/function-definition.68000
2023-07-01 13:44:08 -04:00

12 lines
163 B
Text

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