S3C84I8/F84I8/C84I9/F84I9
POPUI
— Pop User Stack (Incrementing)
dst,src
POPUI
dst ← src
Operation:
IR ← IR + 1
The POPUI instruction is used for user-defined stacks in the register file. The contents of the
register file location addressed by the user stack pointer are loaded into the destination. The user
stack pointer is then incremented.
No flags are affected.
Flags:
Format:
opc
Given: Register 00H = 01H and register 01H = 70H:
Example:
POPUI
If the general register 00H contains the value 01H and the register 01H the value 70H, the
statement "POPUI 02H,@00H" loads the value 70H into the destination general register 02H.
The user stack pointer (the register 00H) is then incremented by one, changing its value from 01H
to 02H.
src
dst
→
02H,@00H
Bytes
Cycles
3
Register 00H = 02H, register 01H = 70H, register 02H =
70H
INSTRUCTION SET
Opcode
Addr Mode
(Hex)
dst
8
93
src
R
IR
6-65