Renesas R8C/Tiny Series Software Manual page 138

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

Advertisement

Chapter 3
Functions
STC
[ Syntax ]
STC
src,dest
[ Operation ]
dest
src
[ Function ]
• This instruction transfers the control register indicated by
address in which to store the low-order address.
dest
• If
is memory while src is PC, the required memory capacity is 3 bytes. If
required memory capacity is 2 bytes.
[ Selectable src/dest ]
FB
SB
FLG
INTBH
PC
*1 Operation is performed on the stack pointer indicated by the U flag.
[ Flag Change ]
U
I
O
Flag
Change
[ Description Example ]
STC
SB,R0
STC
FB,A0
[ Related Instructions ]
Transfer from control register
STore from Control register
src
SP
*1
ISP
INTBL
B
S
Z
D
C
POPC,PUSHC,LDC,LDINTB
[ Instruction Code/Number of Cycles ]
src
dest
to
R0L/R0
R0H/R1
A0/A0
A1/A1
dsp:8[A0]
dsp:8[A1]
dsp:16[A0] dsp:16[A1] dsp:16[SB] abs16
dsp:20[A0] dsp:20[A1] abs20
R2R0
R3R1
R0L/R0
R0H/R1
A0/A0
A1/A1
dsp:8[A0]
dsp:8[A1]
dsp:16[A0] dsp:16[A1] dsp:16[SB] abs16
dsp:20[A0] dsp:20[A1] abs20
R2R0
R3R1
121
3.2
Functions
STC
Page=232
dest
. If
is memory, specify the
src
is not PC, the
dest
R1L/R2
R1H/R3
[A0]
[A1]
dsp:8[SB]
dsp:8[FB]
A1A0
R1L/R2
R1H/R3
[A0]
[A1]
dsp:8[SB]
dsp:8[FB]
A1A0

Advertisement

Table of Contents
loading

Table of Contents