RosettaCodeData/Task/Stack/68000-Assembly/stack-1.68000
2025-06-11 20:16:52 -04:00

3 lines
254 B
Text

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