200
2.4 Instruction Codes
Table 2-3 Instruction Codes
Instruction Format
1st byte
2nd byte
3rd byte
4th byte
5th byte
6th byte
7th byte
8th byte
9th byte
10th byte
ADD
ADD.B #xx:8,Rd
B
8
rd
IMM
ADD.B Rs,Rd
B
0
8
rs
rd
ADD.W #xx:16,Rd
W
7
9
1
rd
IMM
ADD.W Rs,Rd
W
0
9
rs
rd
ADD.L #xx:32,ERd
L
7
A
1
0 erd
IMM
ADD.L ERs,ERd
L
0
A
1 ers
0 erd
ADDS
ADDS #1,ERd
L
0
B
0
0 erd
ADDS #2,ERd
L
0
B
8
0 erd
ADDS #4,ERd
L
0
B
9
0 erd
ADDX
ADDX #xx:8,Rd
B
9
rd
IMM
ADDX Rs,Rd
B
0
E
rs
rd
AND
AND.B #xx:8,Rd
B
E
rd
IMM
AND.B Rs,Rd
B
1
6
rs
rd
AND.W #xx:16,Rd
W
7
9
6
rd
IMM
AND.W Rs,Rd
W
6
6
rs
rd
AND.L #xx:32,ERd
L
7
A
6
0 erd
IMM
AND.L ERs,ERd
L
0
1
F
0
6
6
0 ers
0 erd
ANDC
ANDC #xx:8,CCR
B
0
6
IMM
BAND
BAND #xx:3,Rd
B
7
6
0 IMM
rd
BAND #xx:3,@ERd
B
7
C
0 erd
0
7
6
0 IMM
0
BAND #xx:3,@aa:8
B
7
E
abs
7
6
0 IMM
0
Bcc
BRA d:8 (BT d:8)
—
4
0
disp
BRA d:16 (BT d:16)
—
5
8
0
0
disp
BRN d:8 (BF d:8)
—
4
1
disp
BRN d:16 (BF d:16)
—
5
8
1
0
disp
BHI d:8
—
4
2
disp
BHI d:16
—
5
8
2
0
disp
BLS d:8
—
4
3
disp
BLS d:16
—
5
8
3
0
disp
BCC d:8 (BHS d:8)
—
4
4
disp
BCC d:16 (BHS d:16)
—
5
8
4
0
disp
BCS d:8 (BLO d:8)
—
4
5
disp
Instruction
Mnemonic
Size