Push – NEC 78K/0 Series User Manual
Page 102
102
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
User's Manual U12326EJ4V0UM
Push
PUSH
Push
[Instruction format]
PUSH src
[Operation]
When src = rp
When src = PSW
(SP–1)
← src
H
,
(SP–1)
← src
(SP–2)
← src
L
,
SP
← SP–1
SP
← SP–2
[Operand]
Mnemonic
Operand(src)
PUSH
PSW
rp
[Flag]
Z
AC
CY
[Description]
•
The data of the register specified by the source operand (src) is saved to the stack.
[Description example]
PUSH AX; AX register contents are saved to the stack.