Renesas R8C/Tiny Series Software Manual page 103

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

Advertisement

Chapter 3
Functions
LDC
[ Syntax ]
LDC
src,dest
[ Operation ]
dest
src
[ Function ]
• This instruction transfers
memory, the required memory capacity is 2 bytes.
• If the destination is INTBL or INTBH, make sure that bytes are transferred in succession.
• No interrupt requests are accepted immediately after this instruction.
[ Selectable src/dest ]
R0L/R0
R0H/R1
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 Operation is performed on the stack pointer indicated by the U flag.
[ Flag Change ]
Flag
U
I
O
*2 *2 *2 *2 *2 *2 *2 *2
Change
[ Description Example ]
LDC
R0,SB
LDC
A0,FB
[ Related Instructions ]
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
Transfer to control register
LoaD Control register
src
to the control register indicated by
src
R1L/R2
R1H/R3
[A0]
[A1]
dsp:8[SB]
dsp:8[FB]
dsp:16[SB]
abs16
abs20
#IMM
A1A0
B
S
Z
D
C
POPC, PUSHC, STC, LDINTB
page 85 of 263
[ Instruction Code/Number of Cycles ]
FB
SB
FLG
INTBH
*2 The flag changes only when
3.2 Functions
LDC
Page: 189
dest
src
. If
is a location in the
dest
*1
SP
ISP
INTBL
dest
is FLG.

Advertisement

Table of Contents
loading

Table of Contents