
109
Chapter 3 Functions
3.2 Functions
PUSH Multiple
Save multiple registers
[ Syntax ]
PUSHM src
[ Description Example ]
[ Related Instructions ] POP,PUSH,POPM
[ Function ]
R0 R1 R2 R3 A0 A1 SB FB
PUSHM PUSHM
• This instruction saves the registers selected by
src
collectively to the stack area.
• The registers are saved to the stack area in the following order:
src
*2
R0 R1 R2 R3 A0 A1 SB FB
*2 You can choose multiple
src
.
PUSHM R0,R1,A0,SB,FB
[ Operation ]
SP SP – N
*1
2
M(SP) src
UIOBSZDC
[ Instruction Code/Number of Cycles ]
Page=
219
*1 Number of registers saved.
Saved sequentially beginning with FB
[ Flag Change ]
Flag
Change
[ Selectable src ]
Komentarze do niniejszej Instrukcji