Renesas R8C/Tiny Series Software Manual page 139

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 content of the control register indicated by
location in the memory, specify the address in which to store the low-order address.
dest
• If
is a location in the memory and
PC, the required memory capacity is 2 bytes.
[ Selectable src/dest ]
FB
SB
FLG
INTBH
PC
*1 The 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 ]
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
Transfer from control register
STore from Control register
src
src
*1
SP
ISP
INTBL
B
S
Z
D
C
POPC, PUSHC, LDC, LDINTB
page 121 of 263
[ Instruction Code/Number of Cycles ]
is PC, the required memory capacity is 3 bytes. If
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
3.2
Functions
STC
Page: 232
src
dest
dest
to
. If
src
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
is a
is not

Advertisement

Table of Contents
loading

Table of Contents