Renesas R8C/Tiny Series Software Manual page 188

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

Advertisement

Chapter 4
Instruction Code/Number of Cycles
(2) DIV.size src
b7
0 1 1 1 0 1 1 SIZE 1 1 0 1
.size
SIZE
.B
0
.W
1
[ Number of Bytes/Number of Cycles ]
src
Rn
2/22
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.
(1) DIVU.size #IMM
b7
0 1 1 1 1 1 0 SIZE 1 1 1 0 0 0 0 0
.size
SIZE
.B
0
.W
1
[ Number of Bytes/Number of Cycles ]
Bytes/Cycles
*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.
b0 b7
src
R0L/R0
R0H/R1
Rn
R1L/R2
R1H/R3
A0
An
A1
[A0]
[An]
[A1]
An
[An]
2/22
2/24
b0 b7
3/18
b0
(
dsp8
SRC
dsp16/abs16
SRC
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[An]
dsp:8[SB/FB]
3/24
3/24
b0
#IMM8
171
4.2
Instruction Code/Number of Cycles
src code
)
src
dsp:8[A0]
dsp:8[A1]
dsp:8[SB]
dsp:8[FB]
dsp:16[A0]
dsp:16[A1]
dsp:16[SB]
abs16
dsp:16[An]
dsp:16[SB]
4/24
4/24
#IMM16
DIV
SRC
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
4/24
DIVU

Advertisement

Table of Contents
loading

Table of Contents