LINK

LINK

Operation:
SP - 4 -->; SP; An -->; (SP);
SP -->; An; SP + d -->; SP

Assembler Syntax:
LINK An, #<displacement>

Attributes: Size = (Word, Long)

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.