Nintendo DMG-01 Manual - Page 109
SET b,r
View all Nintendo DMG-01 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 109 highlights
Game BoyTM CPU Manual 3.3.7. Bit Opcodes 2. SET b,r Description: Set bit b in register r. Use with: b = 0 - 7, r = A,B,C,D,E,H,L,(HL) Flags affected: None. Opcodes: Instruction SET SET SET SET SET SET SET SET Parameters b,A b,B b,C b,D b,E b,H b,L b,(HL) Opcode CB C7 CB C0 CB C1 CB C2 CB C3 CB C4 CB C5 CB C6 Cycles 8 8 8 8 8 8 8 16 by DP Page 109
Game Boy
TM
CPU Manual
3.3.7. Bit Opcodes
2.
SET b,r
Description:
Set bit b in register r.
Use with:
b = 0 - 7, r = A,B,C,D,E,H,L,(HL)
Flags affected:
None.
Opcodes:
Instruction
Parameters
Opcode
Cycles
SET
b,A
CB C7
8
SET
b,B
CB C0
8
SET
b,C
CB C1
8
SET
b,D
CB C2
8
SET
b,E
CB C3
8
SET
b,H
CB C4
8
SET
b,L
CB C5
8
SET
b,(HL)
CB C6
16
by DP
Page 109