Z
ILOG
RES
RESET BIT
RES b, dst
dst(b) ← 0
Operation:
The specified bit b within the destination operand is cleared to 0. The other bits in the
destination are unaffected. The bit to be reset is specified by a 3-bit field in the instruction;
this field contains the binary encoding for the bit number to be cleared. The bit number b
must be between 0 and 7.
S:
Unaffected
Flags:
Z:
Unaffected
H:
Unaffected
V:
Unaffected
N:
Unaffected
C:
Unaffected
Addressing
Mode
Syntax
R:
RES b,R
RES b,(HL)
IR:
X:
RES b,(XY+d)
Field Encodings: r:
per convention
y: 0 for IX, 1 for IY
5-138
dst = R, IR, X
Instruction Format
11001011 10bbb -r-
11001011 10bbb110
11y11101 11001011 ——d— 10bbb110
Z380
U
'
M
SER
S
ANUAL
Execute
Time
Note
2
2+r
4+r
I
DC-8297-03
™
Need help?
Do you have a question about the Z80380 and is the answer not in the manual?
Questions and answers