Popui Pop User Stack (Incrementing) - Samsung S3P80C5 User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

S3P80C5/C80C5/C80C8
POPUI
— Pop User Stack (Incrementing)
POPUI
dst,src
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.
Flags:
No flags are affected.
Format:
opc
Example:
Given: Register 00H = 01H and register 01H = 70H:
POPUI
If general register 00H contains the value 01H and register 01H the value 70H, the statement
"POPUI 02H,@00H" loads the value 70H into the destination general register 02H. The user
stack pointer (register 00H) is then incremented by one, changing its value from 01H to 02H.
src
dst
02H,@00H
Register 00H = 02H, register 01H = 70H, register 02H = 70H
Bytes
Cycles
Opcode
3
8
INSTRUCTION SET
Addr Mode
(Hex)
dst
src
93
R
IR
6-65

Advertisement

Table of Contents
loading

This manual is also suitable for:

S3c80c5S3c80c8

Table of Contents