28
Figure 2.6 shows the object code formats of the arithmetic, logic, and shift instructions.
15
8
7
0
op
rn
SHAL, SHAR, SHLL, SHLR,
ROTL, ROTR, ROTXL, ROTXR
15
8
7
0
op
IMM
15
8
7
0
op
rn
rm
15
8
7
0
15
8
7
0
op
rn
rm
15
8
7
0
op
rn
15
8
7
0
op
rn
rm
IMM
rn
op
rn
AND, OR, XOR (#xx:8)
AND, OR, XOR (Rm)
ADD, ADDX, SUBX,
CMP (#xx:8)
MULXU, DIVXU
ADDS, SUBS, INC, DEC,
DAA, DAS, NEG, NOT
ADD, SUB, CMP,
ADDX, SUBX (Rm)
Legend:
op:
Operation field
rm, rn: Register field
IMM: Immediate
data
Figure 2.6 Arithmetic, Logic, and Shift Instruction Object Code Formats