RES b,(HL)
Bit Reset
Rabbit 2000/3000/4000 Instruction
|
| ---- |
RES b,(HL) |
|
(HL) = (HL) & ~bit b |
|
CB 86
|
RES 0,(HL)
|
|
(HL) = (HL) & ~bit 0
|
|
CB 8E
|
RES 1,(HL)
|
|
(HL) = (HL) & ~bit 1
|
|
CB 96
|
RES 2,(HL)
|
|
(HL) = (HL) & ~bit 2
|
|
CB 9E
|
RES 3,(HL)
|
|
(HL) = (HL) & ~bit 3
|
|
CB A6
|
RES 4,(HL)
|
|
(HL) = (HL) & ~bit 4
|
|
CB AE
|
RES 5,(HL)
|
|
(HL) = (HL) & ~bit 5
|
|
CB B6
|
RES 6,(HL)
|
|
(HL) = (HL) & ~bit 6
|
|
CB BE
|
RES 7,(HL)
|
|
(HL) = (HL) & ~bit 7
|
Description
Resets bit b (any of the bits 0, 1, 2, 3, 4, 5, 6, or 7) of the data whose address is in HL
The bit is reset by performing a bitwise AND between the selected bit and its complement.