XA User Guide 6-140 4/17/98
POP Pop
POPU Pop User
Syntax: POP dest
Description: The stack is popped and the data written to the specified directly addressed location.
The data size may be byte or word. POP uses the current stack pointer, while POPU forces an
access to the user stack.
Size: Byte, Word
Flags Updated: none
POP direct
Bytes: 3
Clocks: 5
Operation: (direct) <-- ((SP))
(SP) <-- (SP) + 2
Encoding:
byte 3: 8 bits of direct
POPU direct
Bytes: 3
Clocks: 5
Operation: (direct) <-- ((USP))
(USP) <-- (USP) + 2
Encoding:
byte 3: 8 bits of direct
1 0 0 0 SZ 1 1 1
0 0 0 1 0 direct: 3 bits
1 0 0 0 SZ 1 1 1
0 0 0 0 0 direct: 3 bits