Integer Instructions
MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-111
LINK Link and Allocate LINK
(M68000 Family)
Operation: SP – 4 → SP; An → (SP); SP → An; SP + d
n
→ SP
Assembler
Syntax: LINK An, # < displacement >
Attributes: Size = (Word, Long*)
*MC68020, MC68030, MC68040 and CPU32 only.
Description: Pushes the contents of the specified address register onto the stack. Then
loads the updated stack pointer into the address register. Finally, adds the
displacement value to the stack pointer. For word-size operation, the displacement is
the sign-extended word following the operation word. For long size operation, the
displacement is the long word following the operation word. The address register
occupies one long word on the stack. The user should specify a negative displacement
in order to allocate stack area.
Condition Codes:
Not affected.
Instruction Format:
WORD
Instruction Format:
LONG
1514131211109876543210
0100111001010 REGISTER
WORD DISPLACEMENT
1514131211109876543210
0100100000001 REGISTER
HIGH-ORDER DISPLACEMENT
LOW-ORDER DISPLACEMENT
Kommentare zu diesen Handbüchern