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

4 lines
254 B
Plaintext

LEA userStack,A0 ;initialize the user stack, points to a memory address in user RAM. Only do this once!
MOVEM.L D0-D3,-(A0) ;moves the full 32 bits of registers D0,D1,D2,D3 into the address pointed by A0,
;with pre-decrement