Push - Renesas R8C/Tiny Series Software Manual

16-bit single-chip microcomputer
Hide thumbs Also See for R8C/Tiny Series:
Table of Contents

Advertisement

Chapter 3
Functions

PUSH

[ Syntax ]
PUSH.size (:format)
[ Operation ]
If the size specifier (.size) is (.B)
SP
SP
M(SP)
src
[ Function ]
• This instruction saves
[ Selectable src ]
*1
*1
R0L
/R0
R0H
/R1
*1
*1
A0/A0
A1/A1
dsp:8[A0]
dsp:8[A1]
dsp:16[A0] dsp:16[A1]
dsp:20[A0] dsp:20[A1]
R2R0
R3R1
*1 Can be selected in G and S formats.
dest
In other cases,
[ Flag Change ]
Flag
U
I
O
Change
[ Description Example ]
PUSH.B
#5
PUSH.W
#100H
PUSH.B
R0L
PUSH.W
A0
[ Related Instructions ]
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
Save register/memory/immediate data
src
If the size specifier (.size) is (.W)
1
SP
M(SP)
src
to the stack area.
src
R1L/R2
R1H/R3
[A0]
[A1]
dsp:8[SB]
dsp:8[FB]
dsp:16[SB]
abs16
abs20
#IMM
A1A0
can be selected in G format.
B
S
Z
D
C
POP, POPM, PUSHM
page 104 of 263
PUSH
[ Instruction Code/Number of Cycles ]
G , S (Can be specified)
B , W
SP
2
src
3.2
Functions
PUSH
Page: 214

Advertisement

Table of Contents
loading

Table of Contents