
139
Chapter 4 Instruction Code
4.1 Guide to This Chapter
(1) Mnemonic
Shows the mnemonic explained in this page.
(2) Syntax
Shows an instruction syntax using symbols.
(3) Instruction code
Shows instruction code. Entered in ( ) are omitted depending on src/dest you selected.
dsp8
dsp16/abs16
#IMM8
#IMM16
)
0111010
SIZE
1 1 0 0 DEST
.size
.B
.W
SIZE
0
1
Rn
[An]
R0L/R0
R0H/R1
R1L/R2
R1H/R3
A0
A1
[A0]
[A1]
An
dest DEST
dsp:8[SB/FB]
dsp:16[An]
dsp:16[SB]
abs16
dsp:8[An]
dsp:8[A0]
dsp:8[A1]
dsp:8[SB]
dsp:8[FB]
dsp:16[A0]
dsp:16[A1]
dsp:16[SB]
abs16
dest
1000
1001
1010
1011
1100
1101
1110
1111
DEST
b7 b0 b7 b0
0000
0001
0010
0011
0100
0101
0110
0111
(
dest code
Correspondence
Correspondence
Correspondence
Contents at addresses following
(start address of instruction + 2)
(See the following figure.)
Content at start address
of instruction
+0 +1 +2
8bit
b7 b0
dsp8
#IMM8
Low-order 8bit
b7 b0
High-order 8bit
b7 b0
dsp16
abs16
#IMM16
Low-order 8bit
b7 b0
Middle-order 8bit
b7 b0
0 0 0 0
High-order
4bit
b7 b0
abs20
dsp20
#IMM20
(4) Table of cycles
Shows the number of cycles required to execute this instruction and the number of instruction bytes.
There is a chance that the number of cycles increases due to an effect of software wait.
Instruction bytes are indicated on the left side of the slash and execution cycles are indicated on the right side.
Contents at addresses following (start address of instruction + 2) are arranged as follows:
Content at (start address
of instruction+1)
Comentarios a estos manuales