
224
Chapter 4 Instruction Code/Number of Cycles
4.2 Instruction Code/Number of Cycles
SBJNZ
(1) SBJNZ.size
#IMM, dest, label
1
1
1
1
1
0
0 SIZE
IMM4
DEST
label code
dest code
dsp8
)
dsp16/abs16
dsp8
dsp:16[SB]
5/5
5/5
abs16
dsp:8[An]
4/5
dsp:16[An]
dsp:8[SB/FB]
4/5
5/5
An
3/5
3/3
3/3
[An]
Rn
dest
dest
dsp:8[A0]
dsp:8[A1]
dsp:8[SB]
dsp:8[FB]
dsp:16[A0]
dsp:16[A1]
dsp:16[SB]
abs16
dest
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
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
Rn
[An]
dsp:8[An]
dsp:8[SB/FB]
dsp:16[An]
dsp:16[SB]
abs16
R0L/R0
R0H/R1
R1L/R2
R1H/R3
A0
A1
[A0]
[A1]
An
DEST
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
0
–1
–2
–3
–4
–5
–6
–7
#IMM
IMM4
IMM4
#IMM
+8
+7
+6
+5
+4
+3
+2
+1
.size
.B
.W
SIZE
0
1
dsp8(label code) = address indicated by label – (start address of instr 2)
b7
b0 b7
b0
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
[ Number of Bytes/Number of Cycles ]
(
Bytes/Cycles
*1 If branched to label, the number of cycles above is increased by 4.
Summary of Contents for R8C/Tiny Series
Page 50: ...Chapter 3 Functions 3 1 Guide to This Chapter 3 2 Functions...
Page 151: ...134 Chapter 3 Functions 3 2 Functions Blank for page layout...
Page 278: ...Chapter 6 Calculation Number of Cycles 6 1 Instruction queue buffer...
Page 297: ...R8C Tiny Series Software Manual 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan...