Bit Manipulation
Checks bit imm3 of the value in reg8. Also includes 1R cycle if reg8 is (hl).
- Opcode:
1100101101imm3reg8Register Bit Field a111b000c001d010e011h100l101(hl)110 - Bytes: 2
- Flags:
- S: Undefined
- Z: Set if bit
imm3is 0, reset otherwise - H: Set
- P/V: Undefined
- N: Reset
- Cycles: 2F
Checks bit imm3 of the 8-bit value pointed to by regi + ofs8.
- Opcode:
regi11001011ofs801imm3110Index Bit Field ix11011101iy11111101 - Bytes: 4
- Flags:
- S: Undefined
- Z: Set if bit
imm3is 0, reset otherwise - H: Set
- P/V: Undefined
- N: Reset
- Cycles: 4F + 1R
Resets bit imm3 of the value in reg8. Also includes 1R + 1W + 1 cycles if reg8 is (hl).
- Opcode:
1100101110imm3reg8Register Bit Field a111b000c001d010e011h100l101(hl)110 - Bytes: 2
- Flags:
- None
- Cycles: 2F
Resets bit imm3 of the 8-bit value pointed to by regi + ofs8.
- Opcode:
regi11001011ofs810imm3110Index Bit Field ix11011101iy11111101 - Bytes: 4
- Flags:
- None
- Cycles: 4F + 1R + 1W + 1
Sets bit imm3 of the value in reg8. Also includes 1R + 1W + 1 cycles if reg8 is (hl).
- Opcode:
1100101111imm3reg8Register Bit Field a111b000c001d010e011h100l101(hl)110 - Bytes: 2
- Flags:
- None
- Cycles: 2F
Sets bit imm3 of the 8-bit value pointed to by regi + ofs8.
- Opcode:
regi11001011ofs811imm3110Index Bit Field ix11011101iy11111101 - Bytes: 4
- Flags:
- S: Undefined
- Z: Set if bit
imm3is 0, reset otherwise - H: Set
- P/V: Undefined
- N: Reset
- Cycles: 4F + 1R + 1W + 1