239
Chapter 4 Instruction Code/Number of Cycles
4.2 Instruction Code/Number of Cycles
SUB
(4) SUB.B:S src, R0L/R0H
dest code
dsp8
)
abs16
dsp:8[SB/FB]
2/3
Rn
1/2
abs16
3/3
src
Bytes/Cycles
(1) TST.size #IMM, dest
dest code
dsp8
)
dsp16/abs16
#IMM8
#IMM16
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
.size
.B
.W
SIZE
0
1
[ Number of Bytes/Number of Cycles ]
dsp:16[SB]
5/4
5/4
abs16
dsp:8[An]
4/4
dsp:16[An]
dsp:8[SB/FB]
4/4
5/4
An
3/4
3/2
3/2
[An]
Rn
dest
DEST
dest
R0L
R0H
0
1
src
SRC
R0L/R0H
dsp:8[SB]
dsp:8[FB]
abs16
Rn
dsp:8[SB/FB]
abs16
0
0
0
1
1
0
1
1
TST
b7
b0
0
0
1
0
1 DEST SRC
b7
b0 b7
b0
0
1
1
1
0
1
1 SIZE 0
0
0
0
DEST
(
(
[ Number of Bytes/Number of Cycles ]
Bytes/Cycles
*1 If the size specifier (.size) is (.W), the number of bytes above is increased by 1.
Содержание R8C/Tiny Series
Страница 50: ...Chapter 3 Functions 3 1 Guide to This Chapter 3 2 Functions...
Страница 151: ...134 Chapter 3 Functions 3 2 Functions Blank for page layout...
Страница 152: ...Chapter 4 Instruction Code Number of Cycles 4 1 Guide to This Chapter 4 2 Instruction Code Number of Cycles...
Страница 278: ...Chapter 6 Calculation Number of Cycles 6 1 Instruction queue buffer...
Страница 287: ...Glossary 1 Glossary Technical terms used in this software manual are explained below They are good in this manual only...
Страница 291: ...Symbol 1 Table of symbols Symbols used in this software manual are explained below They are good in this manual only...
Страница 295: ...REVISION HISTORY R8C Tiny Series SOFTWARE MANUAL Rev Date Description Page Summary B 1 1 00 Jun 19 03 First Edition...
Страница 297: ...R8C Tiny Series Software Manual 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan...