Memory allocation: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 92: | Line 92: | ||
LINK A6,#-16 ;create a stack frame of 16 bytes. Now you can safely write to (SP+0) thru (SP+15). |
LINK A6,#-16 ;create a stack frame of 16 bytes. Now you can safely write to (SP+0) thru (SP+15). |
||
;your code goes here. |
;;;; your code goes here. |
||
UNLK A6 ;free the stack frame |
UNLK A6 ;free the stack frame |
||
RTS</lang> |
RTS</lang> |