78 Rabbit 2000/3000 Microprocessor
Description
Resets bit b (any of the bits 0, 1, 2, 3, 4, 5, 6, or 7) of the data whose address is held in the register r (any of the
register A, B, C, D, E, H, or L).
The bit is reset by performing a logical AND between the selected bit and its complement.
RES b,r
Opcode Instruction Clocks Operation
b,r A B C D E H L RES b,r 4 (2,2) r =
r &~bit
CB(0) 87 80 81 82 83 84 85
CB(1) 8F 88 89 8A 8B 8C 8D
CB(2) 97 90 91 92 93 94 95
CB(3) 9F 98 99 9A 9B 9C 9D
CB(4) A7 A0 A1 A2 A3 A4 A5
CB(5) AF A8 A9 AA AB AC AD
CB(6) B7 B0 B1 B2 B3 B4 B5
CB(7) BF B8 B9 BA BB BC BD
Flags ALTD I/O
S Z L/V C F R SP S D
- - - - •