Renesas Electronics
PUSHC
Saving a control register
PUSH Control register
[Syntax]
PUSHC src
[Operation]
tmp = src;
SP = SP - 4;
*SP = tmp;
[Function]
-
This instruction pushes the control register specified by src onto the stack.
The stack pointer in use is specified by the U bit in the PSW.
When the PC is specified as src, this instruction pushes its own address onto the stack..
[Instruction Format]
Syntax
Processng Size
src
Code size
(Byte)
L
Rx
2
[Flag Change]
This instruction does not affect the states of flags.
[Description Example]
PUSHC PSW