Res b, m, Operation, Op code – Zilog Z08470 User Manual
Page 268: Operands
Advertising

Z80 Instruction Set
UM008007-0715
256
Z80 CPU
User Manual
RES b, m
Operation
sb ← 0
Op Code
RES
Operands
b, m
The b operand represents any bit (7 through 0) of the contents of the m operand, (any of r,
(HL), (IX+d), or (lY+d)) as defined for the analogous SET instructions. These possible op
code/operand combinations are assembled as follows in the object code:
1
1
0
1
1
0
0
1
CB
1
1
0
1
1
0
0
1
CB
1
1
1
0
1
1
0
1
DD
1
1
0
1
1
0
0
1
CB
d
1
1
1
0
1
1
1
1
FD
1
1
0
1
1
0
0
1
CB
d
RES b, rn
RES b, (HL)
RES b, (IX+d)
RES b, (IY+d)
1
0
b
1
1
0
1
0
b
1
1
0
1
0
b
r
1
0
b
1
1
0
Advertising