A.3 Operation Code Map
Tables A-2 through A-6 are maps of the operation codes. Table A-2 shows the meaning of the first byte of the instruction code, indicating
both operation codes and addressing modes. Tables A-2 through A-6 indicate the meanings of operation codes in the second and third bytes.
Table A-2 Operation Codes in Byte 1
Notes:
H'11 is the first operation code byte of the following instructions:
JMP, JSR, PJSR (register indirect addressing mode)
JMP, JSR (register indirect addressing mode with displacement)
PRTS, PRTD (all addressing modes)
*
References to tables A-3 through A-6 indicate that the instruction code has one or more additional bytes, described in those tables.
2
BRA
d:8
BRA
d:16
BRN
BHI
BLS
Bcc
BCS
BNE
BEQ
BVC
BVS
BPL
BMI
BGE
BLT
BGT
BLE
3
BRN
BHI
BLS
Bcc
BCS
BNE
BEQ
BVC
BVS
BPL
BMI
BGE
BLT
BGT
BLE
CMP:E #xx:8, Rn
R3
CMP:I #xx:16, Rn
R3
4
5
6
7
8
9
A
B
C
D
E
F
R0
R1
R2
R4
R5
R6
R7
R0
R1
R2
R4
R5
R6
R7
MOV:E #xx:8, Rn
MOV:L.B @aa:8, Rn
MOV:S.B Rn, @aa:8
MOV:F.B @ (d:8, R6), Rn
MOV:F.B Rn, @ (d:8, R6)
Rn
@–Rn
@Rn+
@Rn
@(d:8,Rn)
@(d:16,Rn)
MOV:I #xx:16, Rn
MOV:L.W @aa:8, Rn
MOV:S.W Rn, @aa:8
MOV:F.W @ (:8, R6), Rn
MOV:F.W Rn, @ (d:8,R6)
Rn
@–Rn
@Rn+
@Rn
@(d:8,Rn)
@(d:16,Rn)
(Byte)
(Byte)
(Byte)
(Byte)
(Byte)
(Byte)
(Word)
(Word)
(Word)
(Word)
(Word)
(Word)
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
NOP
SCB/F
See
Tbl.
A-6
See
Tbl.
A-6
*
LDM
PJSR
@aa:24
#xx:8
See
Tbl.
A-5
RTD
#xx:8
#aa:8.B
See
Tbl.
A-4
@aa:16.B
See
Tbl.
A-4
SCB/NE
See
Tbl.
A-6
SCB/EQ TRAPA
See
Tbl.
A-6
LINK
#xx:8
TRAP/VS
RTE
#xx:16 @aa:8.W
See
Tbl.
A-5
RTD
@aa:16.W
#xx:16
BSR
d:8
UNLK
0
See
Tbl.
A-4
JMP
STM
PJMP
@aa:24
JSR
RTS
SLEEP
BSR
d:16
LINK
#xx:16
1
See
Tbl.
A-4
LO
HI
See Table A-3
See Table A-4
See Table A-4
See Table A-4
See Table A-4
See Table A-4
See Table A-3
See Table A-4
See Table A-4
See Table A-4
See Table A-4
See Table A-4