
μ
P
1
I
G
Operation Code
Flags
Mnemonic
Operand(s)
Bytes
Operation
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
AC CY V
P
S
Z
CY
←
reg LSB, reg
←
reg
÷
2, V
←
0
MSB of operand is unchanged.
reg, 1
1 1 0 1 0 0 0 W
1 1 1 1 1
reg
2
U
×
0
×
×
×
CY
←
(mem) LSB, (mem)
←
(mem)
÷
2, V
←
0
MSB of operand is unchanged.
mem, 1
1 1 0 1 0 0 0 W
mod 1 1 1 mem
2 to 4
U
×
0
×
×
×
temp
←
CL, while temp
≠
0, the following operations are
repeated: CY
←
reg LSB, reg
←
reg
÷
2
temp
←
temp – 1, MSB of operand is unchanged.
reg, CL
1 1 0 1 0 0 1 W
1 1 1 1 1
reg
2
U
×
U
×
×
×
SHRA
temp
←
CL, while temp
≠
0, the following operations are
repeated: CY
←
(mem) LSB, (mem)
←
(mem)
÷
2
temp
←
temp – 1, MSB of operand is unchanged.
mem, CL
1 1 0 1 0 0 1 W
mod 1 1 1 mem
2 to 4
U
×
U
×
×
×
temp
←
imm8, while temp
≠
0, the following operations are
repeated: CY
←
reg LSB, reg
←
reg
÷
2
temp
←
temp – 1, MSB of operand is unchanged.
reg, imm8
1 1 0 0 0 0 0 W
1 1 1 1 1
reg
3
U
×
U
×
×
×
temp
←
imm8, while temp
≠
0, the following operations are
repeated: CY
←
(mem) LSB, (mem)
←
(mem)
÷
2
temp
←
temp – 1, MSB of operand is unchanged.
mem, imm8
1 1 0 0 0 0 0 W
mod 1 1 1 mem
3 to 5
U
×
U
×
×
×
CY
←
reg MSB, reg
←
reg
×
2 + CY
reg MSB
≠
CY: V
←
1
reg MSB = CY: V
←
0
reg, 1
1 1 0 1 0 0 0 W
1 1 0 0 0
reg
2
×
×
CY
←
(mem) MSB, (mem)
←
(mem)
×
2 + CY
(mem) MSB
≠
CY: V
←
1
(mem) MSB = CY: V
←
0
mem, 1
1 1 0 1 0 0 0 W
mod 0 0 0 mem
2 to 4
×
×
temp
←
CL, while temp
≠
0, the following instructions are
repeated: CY
←
reg MSB, reg
←
reg
×
2 + CY
temp
←
temp – 1
reg, CL
1 1 0 1 0 0 1 W
1 1 0 0 0
reg
2
×
U
ROL
temp
←
CL, while temp
≠
0, the following instructions are
repeated: CY
←
(mem) MSB, (mem)
←
(mem)
×
2 + CY
temp
←
temp – 1
mem, CL
1 1 0 1 0 0 1 W
mod 0 0 0 mem
2 to 4
×
U
temp
←
imm8, while temp
≠
0, the following instructions are
repeated: CY
←
reg MSB, reg
←
reg
×
2 + CY
temp
←
temp – 1
reg, imm8
1 1 0 0 0 0 0 W
1 1 0 0 0
reg
3
×
U
temp
←
imm8, while temp
≠
0, the following instructions are
repeated: CY
←
(mem) MSB, (mem)
←
(mem)
×
2 + CY
temp
←
temp – 1
mem, imm8
1 1 0 0 0 0 0 W
mod 0 0 0 mem
3 to 5
×
U
R
S