Renesas R8C/Tiny Series Software Manual page 189

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

Advertisement

Chapter 4
Instruction Codes/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
Rn
An
[An]
[ Number of Bytes/Number of Cycles ]
src
Rn
2/22
Bytes/Cycles
• If the size specifier (.size) is (.W), the number of cycles indicated is increased by 6.
• The number of cycles may decrease if 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
• 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 7,
respectively.
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
b0 b7
src
R0L/R0
R0H/R1
R1L/R2
R1H/R3
A0
A1
[A0]
[A1]
An
[An]
dsp:8[An]
2/22
2/24
3/24
b0 b7
3/18
page 171 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/24
4/24
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/24
4/24
DIVU
DIV

Advertisement

Table of Contents
loading

Table of Contents