Renesas R8C/Tiny Series Software Manual page 190

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

Advertisement

Chapter 4
Instruction Codes/Number of Cycles
DIVU
(2) DIVU.size src
b7
0 1 1 1 0 1 1 SIZE 1 1
.size
SIZE
.B
0
.W
1
Rn
An
[An]
[ Number of Bytes/Number of Cycles ]
src
Rn
Bytes/Cycles
2/18
• If the size specifier (.size) is (.W), the number of cycles indicated is increased by 7.
• The number of cycles may decrease if an overflow occurs or depending on the value of the divisor or
dividend.
DIVX
(1) DIVX.size #IMM
b7
0 1 1 1 1 1 0 SIZE 1
.size
SIZE
.B
0
.W
1
[ Number of Bytes/Number of Cycles ]
Bytes/Cycles
• The number of cycles may decrease if an overflow occurs or depending on the value of the divisor or
dividend.
• If the size specifier (.size) is (.W), the number of bytes and cycles indicated are increased by 1 and 6,
respectively.
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
b0 b7
0 0
src
R0L/R0
R0H/R1
R1L/R2
R1H/R3
A0
A1
[A0]
[A1]
An
[An]
dsp:8[An]
2/18
2/20
3/20
b0 b7
1 1 0 0 0 1 1
3/22
page 172 of 263
4.2
Instruction Codes/Number of Cycles
src code
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[SB/FB]
dsp:16[An]
3/20
4/20
b0
#IMM8
#IMM16
)
src
SRC
dsp:8[A0]
1 0 0 0
dsp:8[A1]
1 0 0 1
dsp:8[SB]
1 0 1 0
dsp:8[FB]
1 0 1 1
dsp:16[A0]
1 1 0 0
dsp:16[A1]
1 1 0 1
dsp:16[SB]
1 1 1 0
abs16
1 1 1 1
dsp:16[SB]
abs16
4/20
4/20

Advertisement

Table of Contents
loading

Table of Contents