<< Previous | Next >>

SET b,(HL)     Set Bit     Rabbit 2000/3000/4000 Instruction
Opcode
Instruction
Clocks
Operation
-- SET b,(HL) 10 (2,2,1,2,3) (HL) = (HL) | b

CB C6

SET 0,(HL)

10 (2,2,1,2,3)

(HL) = (HL) | bit 0

CB CE

SET 1,(HL)

10 (2,2,1,2,3)

(HL) = (HL) | bit 1

CB D6

SET 2,(HL)

10 (2,2,1,2,3)

(HL) = (HL) | bit 2

CB DE

SET 3,(HL)

10 (2,2,1,2,3)

(HL) = (HL) | bit 3

CB E6

SET 4,(HL)

10 (2,2,1,2,3)

(HL) = (HL) | bit 4

CB EE

SET 5,(HL)

10 (2,2,1,2,3)

(HL) = (HL) | bit 5

CB F6

SET 6,(HL)

10 (2,2,1,2,3)

(HL) = (HL) | bit 6

CB FE

SET 7,(HL)

10 (2,2,1,2,3)

(HL) = (HL) | bit 7


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.


<< Previous | Next >>