unlk
Unlink
Loads a7 from the address register, then pops a long from the stack into that register.
Used in
- bsr, rts, link and unlkM68K assembly
- Stack arguments and a stack frameM68K assembly
- Recursion: factorial and FibonacciM68K assembly
XNZVC –––––
- Changes no flag
Forms
unlk
Operands
An- An address register,
a0toa7;spis another name fora7. More
* --- Used with link to tear down a stack frame ---
link a6, #-8
move.l #$1234, -4(a6)
move.l #$5678, -8(a6)
unlk a6 ; sp = a6, a6 = (sp)+