<< Previous | Next >>

SET b,(HL)     Set Bit     Rabbit 2000/3000/4000/5000 Instruction

Opcode
Instruction
Operation
-- SET b,(HL) (HL) = (HL) | b
CB C6 SET 0,(HL) (HL) = (HL) | bit 0
CB CE SET 1,(HL) (HL) = (HL) | bit 1
CB D6 SET 2,(HL) (HL) = (HL) | bit 2
CB DE SET 3,(HL) (HL) = (HL) | bit 3
CB E6 SET 4,(HL) (HL) = (HL) | bit 4
CB EE SET 5,(HL) (HL) = (HL) | bit 5
CB F6 SET 6,(HL) (HL) = (HL) | bit 6
CB FE SET 7,(HL) (HL) = (HL) | bit 7

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 2000/3000/4000
10
n/a
n/a
Rabbit 5000
10
10
8

Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-
·
·

Description

Sets bit b (any of the bits 0, 1, 2, 3, 4, 5, 6, or 7) of the byte whose address is the data in HL.


Rabbit Instructions << Previous | Next >> rabbit.com