UNLK Instruction
The instruction UNLK (UNLinK) removes a stack frame that was set earlier by the instruction LINK (see LINK). It works like this, the given address register (usually the frame pointer) is stored in the stack pointer. Then the original state of the frame pointer is restored by getting the first longword on the stack. This is the opposite of what LINK does. UNLK works correctly no matter what has been pushed or popped on the stack between the instructions LINK and UNLK but it requires that you popped your variables from the frame pointer or updated the frame pointer to its initial value ( by adding the size of the variables to the frame pointer for example )
ADDRESS METHODS: N/A
DATA LENGTH: N/A
FLAGS: Unaffected
SYNTAX: UNLK An