<BR> Mnemonic | Symbolic Operation |
S |
Z | F5 | H | F3 | P/V | N | C | Opcode 76-543-210 |
Hex |
Bytes |
M's |
T's |
Comments |
BIT b, r | _ Z := r.b |
~1 | ~ | ~2 | 1 | ~3 | ~4 | 0 | . | 11-001-011 01-b-r |
CB | 2 | 2 | 8 | |
BIT b, (HL) | ___ Z := (HL).b |
~1 | ~ | ~2 | 1 | ~3 | ~4 | 0 | . | 11-001-011 01-b-110 |
CB | 2 | 3 | 12 | |
BIT b, (IX + d)5 | _____ Z := (IX + d).b |
~1 | ~ | ~2 | 1 | ~3 | ~4 | 0 | . | 11-011-101 11-001-011 <-----d------> 01-b-110 |
DD CB |
4 | 5 | 20 | |
BIT b, (IY + d)5 | _____ Z := (IY + d).b |
~1 | ~ | ~2 | 1 | ~3 | ~4 | 0 | . | 11-111-101 11-001-011 <-----d------> 01-b-110 |
FD CB |
4 | 5 | 20 | |
SET b, r | r.b := 1 | . | . | . | . | . | . | . | . | 11-001-011 11-b-r |
CB |
2 | 2 | 8 | |
SET b, (HL) | (HL).b := 1 | . | . | . | . | . | . | . | . | 11-001-011 11-b-110 |
CB |
2 | 4 | 15 | |
SET b, (IX + d) | (IX + d).b := 1 | . | . | . | . | . | . | . | . | 11-011-101 11-001-011 <-----d------> 11-b-110 |
DD CB |
4 | 6 | 23 | |
SET b, (IY + d) | (IY + d).b := 1 | . | . | . | . | . | . | . | . | 11-111-101 11-001-011 <-----d------> 11-b-110 |
FD CB |
4 | 6 | 23 | |
LD r,SET b, (IX + d)* | r := (IX + d) r.b := 1 (IX + d) := r |
. | . | . | . | . | . | . | . | 11-011-101 11-001-011 <-----d------> 11-b-r |
DD CB |
4 | 6 | 23 | |
LD r,SET b, (IY + d)* | r := (IY + d) r.b := 1 (IY + d) := r |
. | . | . | . | . | . | . | . | 11-111-101 11-001-011 <-----d------> 11-b-r |
FD CB |
4 | 6 | 23 | |
RES b, m | m.b := 0 m º r, (HL), (IX+d), (IY+d) |
. | . | . | . | . | . | . | . | 10 | To form new opcode replace 11 of SET b, s with 10. Flags and states are the same. |