Datasheet

Section 2 CPU
Rev. 6.00 Aug 04, 2006 page 60 of 680
REJ09B0145-0600
Figure 2.6 shows the instruction code format of arithmetic, logic, and shift instructions.
15 087
op rm rn
ADD, SUB, CMP,
ADDX, SUBX (Rm)
Legend:
op:
rm, rn:
IMM:
Operation field
Register field
Immediate data
15 087
op rn
ADDS, SUBS, INC, DEC,
DAA, DAS, NEG, NOT
15 087
op rn
MULXU, DIVXU
rm
15 087
rn IMM
ADD, ADDX, SUBX,
CMP (#XX:8)
op
15 087
op rn
AND, OR, XOR (Rm)
rm
15 087
rn IMM
AND, OR, XOR (#xx:8)
op
15 087
rn
SHAL, SHAR, SHLL, SHLR,
ROTL, ROTR, ROTXL, ROTXR
op
Figure 2.6 Arithmetic, Logic, and Shift Instruction Codes