DESCRIPTION OF INSTRUCTIONS
345
86. POP data address (Pop stack to memory)
11010000
70
Instruction code
Data address
Operations
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example POP PSW:No change to parity bit.
Instruction code
: Byte 1
a7 a6 a5 a4 a3 a2 a1 a0
70
Byte 2
(data address)←((SP))
(SP)←(SP)–1
:
C AC F0 RS1 RS0 OV F1 P
:
:
:
Stack contents addressed by the stack pointer are popped in
the specified data address, and the stack pointer is
decremented by 1.
:
11010000
70
Byte 1
Accumulator
10101100
70
2
2
11010000
70
Byte 2
Before execution
Accumulator
10101100
70
After execution
:
PSW (0D0H)
10101100
70
PSW (0D0H)
11110010
70
Stack pointer
00010000
70
Stack pointer
00001111
70
10H
11110011
70
10H
11110011
70