EasyManua.ls Logo

Motorola 68000 - Page 60

Motorola 68000
60 pages
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
58
The 68000's Instruction Set
Condition codes: X N Z V C
- * * 0 0
Source operand addressing modes
UNLK Unlink
Operation: [SP] [An]; [An] [M([SP])]; [SP] [SP] + 4
Syntax: UNLK An
Attributes: Unsized
Description: The stack pointer is loaded from the specified address register
and the old contents of the stack pointer are lost (this has the
effect of collapsing the stack frame). The address register is then
loaded with the longword pulled off the stack.
Application: The UNLK instruction is used in conjunction with the LINK
instruction. The LINK creates a stack frame at the start of a
procedure, and the UNLK collapses the stack frame prior to a
return from the procedure.
Condition codes: X N Z V C
- - - - -

Other manuals for Motorola 68000

Related product manuals