Renesas R8C/Tiny Series Software Manual page 102

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 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 ]
U
I
O
B
Flag
*2 *2 *2 *2 *2 *2 *2 *2
Change
[ Description Example ]
LDC
R0,SB
LDC
A0,FB
[ Related Instructions ]
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
S
Z
D
C
*2 The flag changes only when
POPC,PUSHC,STC,LDINTB
[ Instruction Code/Number of Cycles ]
dest
. If
dest
FB
SB
FLG
INTBH
85
3.2 Functions
LDC
Page=189
src
is memory, the required
*1
SP
ISP
INTBL
dest
is FLG.

Advertisement

Table of Contents
loading

Table of Contents