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

13 lines
163 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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