Appendix A. Operation Code Map - Renesas H8/300 Series Programming Manual

Table of Contents

Advertisement

This table is a map of the operation codes contained in the first byte of the instruction code (bits 15 to 8 of the first instruction word).
Some pairs of instructions have identical first bytes. These instructions are differentiated by the first bit of the second byte (bit 7 of the first
instruction word).
Instruction when first bit of byte 2 (bit 7 of first instruction word) is "0."
Instruction when first bit of byte 2 (bit 7 of first instruction word) is "1."
LO
0
1
HI
0
NOP
SLEEP
SHLL
SHLR
ROTXL
1
SHAL
SHAR
2
3
4
*2
*2
BRA
BRN
BHI
5
MULXU
DIVXU
6
BNOT
BSET
BCLR
7
8
9
A
B
C
D
E
F
1
*
The MOVFPE and MOVTPE instructions are identical to MOV instructions in the first byte and first bit of the second byte (bits 15 to 7 of the instruction word). The PUSH and POP
instructions are identical in machine language to MOV instructions.
2
*
The BT, BF, BHS, and BLO instructions are identical in machine language to BRA, BRN, BCC, and BCS, respectively.

Appendix A. Operation Code Map

2
3
4
5
STC
LDC
ORC
XORC
ROTXR
OR
XOR
ROTL
ROTR
*2
BLS
BCC
BCS
RTS
BSR
BTST
BOR
BXOR
BIOR
BIXOR
6
8
7
ANDC
ADD
LDC
NOT
AND
SUB
NEG
MOV
*2
BNE
BEQ
BVC
RTE
BST
BIST
BAND
BLD
BIAND
BILD
ADD
ADDX
CMP
SUBX
OR
XOR
AND
MOV
9
A
B
ADDS
INC
DEC
SUBS
BPL
BGE
BVS
BMI
JMP
*1
MOV
MOV
EEPMOV
C
E
D
F
MOV
ADDX
DAA
SUBX
DAS
CMP
BLT
BGT
BLE
JSR
Bit manipulation instruction

Advertisement

Table of Contents
loading

Table of Contents