RosettaCodeData/Task/Stack/68000-Assembly/stack-5.68000

3 lines
113 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
MOVE.W (SP),D0 ;load the top two bytes of the stack into D0
MOVE.W (A0),D0 ;load the top two bytes of A0 into D0