Hitachi H8/3152 Hardware Manual page 34

Single-chip microcomputer h8/3150 series
Table of Contents

Advertisement

Figure 2.6 shows the object code formats of the arithmetic, logic, and shift instructions.
15
op
15
15
op
15
op
15
op
15
op
15
Legend:
op:
Operation field
rm, rn: Register field
IMM:
Immediate data
Figure 2.6 Arithmetic, Logic, and Shift Instruction Object Code Formats
28
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
MULXU, DIVXU
rn
0
ADD, ADDX, SUBX,
IMM
CMP (#xx:8)
0
AND, OR, XOR (Rm)
rn
0
AND, OR, XOR (#xx:8)
IMM
0
SHAL, SHAR, SHLL, SHLR,
rn
ROTL, ROTR, ROTXL, ROTXR

Advertisement

Table of Contents
loading

Table of Contents