Figure 2.6 Arithmetic, Logic, And Shift Instruction Codes - Renesas H8/3847R Series Hardware Manual

8-bit single-chip microcomputer super low power
Table of Contents

Advertisement

Section 2 CPU
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
Legend:
op:
Operation field
rm, rn:
Register field
IMM:
Immediate data

Figure 2.6 Arithmetic, Logic, and Shift Instruction Codes

Rev. 6.00 Aug 04, 2006 page 60 of 680
REJ09B0145-0600
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