Hitachi H8/3937 Series Hardware Manual page 44

Table of Contents

Advertisement

Figure 2-6 shows the instruction code format of arithmetic, logic, and shift instructions.
15
op
15
15
op
15
op
15
op
15
op
15
Notation:
op:
Operation field
rm, rn:
Register field
IMM:
Immediate data
Figure 2-6 Arithmetic, Logic, and Shift Instruction Codes
32
8
7
rm
8
7
op
8
7
rm
8
7
rn
8
7
rm
8
7
rn
8
7
op
0
ADD, SUB, CMP,
rn
ADDX, SUBX (Rm)
0
ADDS, SUBS, INC, DEC,
rn
DAA, DAS, NEG, NOT
0
rn
MULXU, DIVXU
0
ADD, ADDX, SUBX,
IMM
CMP (#XX:8)
0
rn
AND, OR, XOR (Rm)
0
IMM
AND, OR, XOR (#xx:8)
0
SHAL, SHAR, SHLL, SHLR,
rn
ROTL, ROTR, ROTXL, ROTXR

Advertisement

Table of Contents
loading

Table of Contents