
171
Chapter 4 Instruction Code/Number of Cycles
4.2 Instruction Code/Number of Cycles
DIV
(2) DIV.size src
dsp8
src code
dsp16/abs16
)
src
dsp:8[A0]
dsp:8[A1]
dsp:8[SB]
dsp:8[FB]
dsp:16[A0]
dsp:16[A1]
dsp:16[SB]
abs16
src
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
SRC
SRC
.size
.B
.W
SIZE
0
1
[ Number of Bytes/Number of Cycles ]
dsp:16[SB]
4/24
4/24
abs16
dsp:8[An]
3/24
dsp:16[An]
dsp:8[SB/FB]
3/24
4/24
An
2/24
2/22
2/22
[An]
Rn
src
DIVU
(1) DIVU.size #IMM
#IMM8
#IMM16
.size
.B
.W
SIZE
0
1
3/18
[ Number of Bytes/Number of Cycles ]
b7
b0 b7
b0
0
1
1
1
0
1 1 SIZE 1 1
0
1
SRC
b7
b0 b7
b0
0
1
1
1
1
1
0 SIZE 1
1
1
0
0
0
0
0
(
Bytes/Cycles
Bytes/Cycles
*1 If the size specifier (.size) is (.W), the number of cycles above is increased by 6.
*2 The number of cycles may decrease when an overflow occurs or depending on the value of the divisor or
dividend.
*2 The number of cycles may decrease when an overflow occurs or depending on the value of the divisor or
dividend.
*3 If the size specifier (.size) is (.W), the number of bytes and cycles above are increased by 1 and 7,
respectively.
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...