Renesas R8C/Tiny Series Software Manual page 164

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

Advertisement

Chapter 4
Instruction Codes/Number of Cycles
ADJNZ
(1) ADJNZ.size
b7
1 1 1 1 1 0 0 SIZE
dsp8 (label code) = address indicated by label – (start address of instruction + 2)
.size
SIZE
.B
0
.W
1
+1
+2
+3
+4
+5
+6
+7
Rn
An
[An]
[ Number of Bytes/Number of Cycles ]
dest
Rn
Bytes/Cycles
3/3
• If the program branches to a label, the number of cycles indicated is increased by 4.
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
#IMM, dest, label
b0 b7
IMM4
#IMM
IMM4
#IMM
0
0 0 0 0
–8
0 0 0 1
–7
0 0 1 0
–6
0 0 1 1
–5
0 1 0 0
–4
0 1 0 1
–3
0 1 1 0
–2
0 1 1 1
–1
dest
R0L/R0
R0H/R1
R1L/R2
R1H/R3
A0
A1
[A0]
[A1]
An
[An]
dsp:8[An]
3/3
3/5
4/5
page 146 of 263
4.2
Instruction Codes/Number of Cycles
dest code
b0
(
dsp8
DEST
dsp16/abs16
IMM4
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
DEST
0 0 0 0
dsp:8[An]
0 0 0 1
0 0 1 0
dsp:8[SB/FB]
0 0 1 1
0 1 0 0
dsp:16[An]
0 1 0 1
0 1 1 0
dsp:16[SB]
0 1 1 1
abs16
dsp:8[SB/FB]
dsp:16[An]
4/5
label code
)
dsp8
dest
dsp:8[A0]
dsp:8[A1]
dsp:8[SB]
dsp:8[FB]
dsp:16[A0]
dsp:16[A1]
dsp:16[SB]
abs16
dsp:16[SB]
5/5
5/5
DEST
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
abs16
5/5

Advertisement

Table of Contents
loading

Table of Contents