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

3 lines
113 B
Plaintext

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