res

Operands

res bit,r | res bit,(rr) | res bit,(ii+dd),r | res bit,(ii+dd)

Resets bit 0 of B.

Loading...

Variants

Every form of res the assembler accepts. The cycles column counts clock cycles, written as taken/not taken for the conditional forms.

InstructionDescriptionFlagsBytesCycles
res 0,b

Resets bit 0 of B.

28
res 0,c

Resets bit 0 of C.

28
res 0,d

Resets bit 0 of D.

28
res 0,e

Resets bit 0 of E.

28
res 0,h

Resets bit 0 of H.

28
res 0,l

Resets bit 0 of L.

28
res 0,(hl)

Resets bit 0 of (HL).

215
res 0,a

Resets bit 0 of A.

28
res 1,b

Resets bit 1 of B.

28
res 1,c

Resets bit 1 of C.

28
res 1,d

Resets bit 1 of D.

28
res 1,e

Resets bit 1 of E.

28
res 1,h

Resets bit 1 of H.

28
res 1,l

Resets bit 1 of L.

28
res 1,(hl)

Resets bit 1 of (HL).

215
res 1,a

Resets bit 1 of A.

28
res 2,b

Resets bit 2 of B.

28
res 2,c

Resets bit 2 of C.

28
res 2,d

Resets bit 2 of D.

28
res 2,e

Resets bit 2 of E.

28
res 2,h

Resets bit 2 of H.

28
res 2,l

Resets bit 2 of L.

28
res 2,(hl)

Resets bit 2 of (HL).

215
res 2,a

Resets bit 2 of A.

28
res 3,b

Resets bit 3 of B.

28
res 3,c

Resets bit 3 of C.

28
res 3,d

Resets bit 3 of D.

28
res 3,e

Resets bit 3 of E.

28
res 3,h

Resets bit 3 of H.

28
res 3,l

Resets bit 3 of L.

28
res 3,(hl)

Resets bit 3 of (HL).

215
res 3,a

Resets bit 3 of A.

28
res 4,b

Resets bit 4 of B.

28
res 4,c

Resets bit 4 of C.

28
res 4,d

Resets bit 4 of D.

28
res 4,e

Resets bit 4 of E.

28
res 4,h

Resets bit 4 of H.

28
res 4,l

Resets bit 4 of L.

28
res 4,(hl)

Resets bit 4 of (HL).

215
res 4,a

Resets bit 4 of A.

28
res 5,b

Resets bit 5 of B.

28
res 5,c

Resets bit 5 of C.

28
res 5,d

Resets bit 5 of D.

28
res 5,e

Resets bit 5 of E.

28
res 5,h

Resets bit 5 of H.

28
res 5,l

Resets bit 5 of L.

28
res 5,(hl)

Resets bit 5 of (HL).

215
res 5,a

Resets bit 5 of A.

28
res 6,b

Resets bit 6 of B.

28
res 6,c

Resets bit 6 of C.

28
res 6,d

Resets bit 6 of D.

28
res 6,e

Resets bit 6 of E.

28
res 6,h

Resets bit 6 of H.

28
res 6,l

Resets bit 6 of L.

28
res 6,(hl)

Resets bit 6 of (HL).

215
res 6,a

Resets bit 6 of A.

28
res 7,b

Resets bit 7 of B.

28
res 7,c

Resets bit 7 of C.

28
res 7,d

Resets bit 7 of D.

28
res 7,e

Resets bit 7 of E.

28
res 7,h

Resets bit 7 of H.

28
res 7,l

Resets bit 7 of L.

28
res 7,(hl)

Resets bit 7 of (HL).

215
res 7,a

Resets bit 7 of A.

28
res 0,(ix+dd),b undocumented

Resets bit 0 of the memory location pointed to by IX plus dd. The result is then stored in B.

423
res 0,(ix+dd),c undocumented

Resets bit 0 of the memory location pointed to by IX plus dd. The result is then stored in C.

423
res 0,(ix+dd),d undocumented

Resets bit 0 of the memory location pointed to by IX plus dd. The result is then stored in D.

423
res 0,(ix+dd),e undocumented

Resets bit 0 of the memory location pointed to by IX plus dd. The result is then stored in E.

423
res 0,(ix+dd),h undocumented

Resets bit 0 of the memory location pointed to by IX plus dd. The result is then stored in H.

423
res 0,(ix+dd),l undocumented

Resets bit 0 of the memory location pointed to by IX plus dd. The result is then stored in L.

423
res 0,(ix+dd)

Resets bit 0 of the memory location pointed to by IX plus dd.

423
res 0,(ix+dd),a undocumented

Resets bit 0 of the memory location pointed to by IX plus dd. The result is then stored in A.

423
res 1,(ix+dd),b undocumented

Resets bit 1 of the memory location pointed to by IX plus dd. The result is then stored in B.

423
res 1,(ix+dd),c undocumented

Resets bit 1 of the memory location pointed to by IX plus dd. The result is then stored in C.

423
res 1,(ix+dd),d undocumented

Resets bit 1 of the memory location pointed to by IX plus dd. The result is then stored in D.

423
res 1,(ix+dd),e undocumented

Resets bit 1 of the memory location pointed to by IX plus dd. The result is then stored in E.

423
res 1,(ix+dd),h undocumented

Resets bit 1 of the memory location pointed to by IX plus dd. The result is then stored in H.

423
res 1,(ix+dd),l undocumented

Resets bit 1 of the memory location pointed to by IX plus dd. The result is then stored in L.

423
res 1,(ix+dd)

Resets bit 1 of the memory location pointed to by IX plus dd.

423
res 1,(ix+dd),a undocumented

Resets bit 1 of the memory location pointed to by IX plus dd. The result is then stored in A.

423
res 2,(ix+dd),b undocumented

Resets bit 2 of the memory location pointed to by IX plus dd. The result is then stored in B.

423
res 2,(ix+dd),c undocumented

Resets bit 2 of the memory location pointed to by IX plus dd. The result is then stored in C.

423
res 2,(ix+dd),d undocumented

Resets bit 2 of the memory location pointed to by IX plus dd. The result is then stored in D.

423
res 2,(ix+dd),e undocumented

Resets bit 2 of the memory location pointed to by IX plus dd. The result is then stored in E.

423
res 2,(ix+dd),h undocumented

Resets bit 2 of the memory location pointed to by IX plus dd. The result is then stored in H.

423
res 2,(ix+dd),l undocumented

Resets bit 2 of the memory location pointed to by IX plus dd. The result is then stored in L.

423
res 2,(ix+dd)

Resets bit 2 of the memory location pointed to by IX plus dd.

423
res 2,(ix+dd),a undocumented

Resets bit 2 of the memory location pointed to by IX plus dd. The result is then stored in A.

423
res 3,(ix+dd),b undocumented

Resets bit 3 of the memory location pointed to by IX plus dd. The result is then stored in B.

423
res 3,(ix+dd),c undocumented

Resets bit 3 of the memory location pointed to by IX plus dd. The result is then stored in C.

423
res 3,(ix+dd),d undocumented

Resets bit 3 of the memory location pointed to by IX plus dd. The result is then stored in D.

423
res 3,(ix+dd),e undocumented

Resets bit 3 of the memory location pointed to by IX plus dd. The result is then stored in E.

423
res 3,(ix+dd),h undocumented

Resets bit 3 of the memory location pointed to by IX plus dd. The result is then stored in H.

423
res 3,(ix+dd),l undocumented

Resets bit 3 of the memory location pointed to by IX plus dd. The result is then stored in L.

423
res 3,(ix+dd)

Resets bit 3 of the memory location pointed to by IX plus dd.

423
res 3,(ix+dd),a undocumented

Resets bit 3 of the memory location pointed to by IX plus dd. The result is then stored in A.

423
res 4,(ix+dd),b undocumented

Resets bit 4 of the memory location pointed to by IX plus dd. The result is then stored in B.

423
res 4,(ix+dd),c undocumented

Resets bit 4 of the memory location pointed to by IX plus dd. The result is then stored in C.

423
res 4,(ix+dd),d undocumented

Resets bit 4 of the memory location pointed to by IX plus dd. The result is then stored in D.

423
res 4,(ix+dd),e undocumented

Resets bit 4 of the memory location pointed to by IX plus dd. The result is then stored in E.

423
res 4,(ix+dd),h undocumented

Resets bit 4 of the memory location pointed to by IX plus dd. The result is then stored in H.

423
res 4,(ix+dd),l undocumented

Resets bit 4 of the memory location pointed to by IX plus dd. The result is then stored in L.

423
res 4,(ix+dd)

Resets bit 4 of the memory location pointed to by IX plus dd.

423
res 4,(ix+dd),a undocumented

Resets bit 4 of the memory location pointed to by IX plus dd. The result is then stored in A.

423
res 5,(ix+dd),b undocumented

Resets bit 5 of the memory location pointed to by IX plus dd. The result is then stored in B.

423
res 5,(ix+dd),c undocumented

Resets bit 5 of the memory location pointed to by IX plus dd. The result is then stored in C.

423
res 5,(ix+dd),d undocumented

Resets bit 5 of the memory location pointed to by IX plus dd. The result is then stored in D.

423
res 5,(ix+dd),e undocumented

Resets bit 5 of the memory location pointed to by IX plus dd. The result is then stored in E.

423
res 5,(ix+dd),h undocumented

Resets bit 5 of the memory location pointed to by IX plus dd. The result is then stored in H.

423
res 5,(ix+dd),l undocumented

Resets bit 5 of the memory location pointed to by IX plus dd. The result is then stored in L.

423
res 5,(ix+dd)

Resets bit 5 of the memory location pointed to by IX plus dd.

423
res 5,(ix+dd),a undocumented

Resets bit 5 of the memory location pointed to by IX plus dd. The result is then stored in A.

423
res 6,(ix+dd),b undocumented

Resets bit 6 of the memory location pointed to by IX plus dd. The result is then stored in B.

423
res 6,(ix+dd),c undocumented

Resets bit 6 of the memory location pointed to by IX plus dd. The result is then stored in C.

423
res 6,(ix+dd),d undocumented

Resets bit 6 of the memory location pointed to by IX plus dd. The result is then stored in D.

423
res 6,(ix+dd),e undocumented

Resets bit 6 of the memory location pointed to by IX plus dd. The result is then stored in E.

423
res 6,(ix+dd),h undocumented

Resets bit 6 of the memory location pointed to by IX plus dd. The result is then stored in H.

423
res 6,(ix+dd),l undocumented

Resets bit 6 of the memory location pointed to by IX plus dd. The result is then stored in L.

423
res 6,(ix+dd)

Resets bit 6 of the memory location pointed to by IX plus dd.

423
res 6,(ix+dd),a undocumented

Resets bit 6 of the memory location pointed to by IX plus dd. The result is then stored in A.

423
res 7,(ix+dd),b undocumented

Resets bit 7 of the memory location pointed to by IX plus dd. The result is then stored in B.

423
res 7,(ix+dd),c undocumented

Resets bit 7 of the memory location pointed to by IX plus dd. The result is then stored in C.

423
res 7,(ix+dd),d undocumented

Resets bit 7 of the memory location pointed to by IX plus dd. The result is then stored in D.

423
res 7,(ix+dd),e undocumented

Resets bit 7 of the memory location pointed to by IX plus dd. The result is then stored in E.

423
res 7,(ix+dd),h undocumented

Resets bit 7 of the memory location pointed to by IX plus dd. The result is then stored in H.

423
res 7,(ix+dd),l undocumented

Resets bit 7 of the memory location pointed to by IX plus dd. The result is then stored in L.

423
res 7,(ix+dd)

Resets bit 7 of the memory location pointed to by IX plus dd.

423
res 7,(ix+dd),a undocumented

Resets bit 7 of the memory location pointed to by IX plus dd. The result is then stored in A.

423
res 0,(iy+dd),b undocumented

Resets bit 0 of the memory location pointed to by IY plus dd. The result is then stored in B.

423
res 0,(iy+dd),c undocumented

Resets bit 0 of the memory location pointed to by IY plus dd. The result is then stored in C.

423
res 0,(iy+dd),d undocumented

Resets bit 0 of the memory location pointed to by IY plus dd. The result is then stored in D.

423
res 0,(iy+dd),e undocumented

Resets bit 0 of the memory location pointed to by IY plus dd. The result is then stored in E.

423
res 0,(iy+dd),h undocumented

Resets bit 0 of the memory location pointed to by IY plus dd. The result is then stored in H.

423
res 0,(iy+dd),l undocumented

Resets bit 0 of the memory location pointed to by IY plus dd. The result is then stored in L.

423
res 0,(iy+dd)

Resets bit 0 of the memory location pointed to by IY plus dd.

423
res 0,(iy+dd),a undocumented

Resets bit 0 of the memory location pointed to by IY plus dd. The result is then stored in A.

423
res 1,(iy+dd),b undocumented

Resets bit 1 of the memory location pointed to by IY plus dd. The result is then stored in B.

423
res 1,(iy+dd),c undocumented

Resets bit 1 of the memory location pointed to by IY plus dd. The result is then stored in C.

423
res 1,(iy+dd),d undocumented

Resets bit 1 of the memory location pointed to by IY plus dd. The result is then stored in D.

423
res 1,(iy+dd),e undocumented

Resets bit 1 of the memory location pointed to by IY plus dd. The result is then stored in E.

423
res 1,(iy+dd),h undocumented

Resets bit 1 of the memory location pointed to by IY plus dd. The result is then stored in H.

423
res 1,(iy+dd),l undocumented

Resets bit 1 of the memory location pointed to by IY plus dd. The result is then stored in L.

423
res 1,(iy+dd)

Resets bit 1 of the memory location pointed to by IY plus dd.

423
res 1,(iy+dd),a undocumented

Resets bit 1 of the memory location pointed to by IY plus dd. The result is then stored in A.

423
res 2,(iy+dd),b undocumented

Resets bit 2 of the memory location pointed to by IY plus dd. The result is then stored in B.

423
res 2,(iy+dd),c undocumented

Resets bit 2 of the memory location pointed to by IY plus dd. The result is then stored in C.

423
res 2,(iy+dd),d undocumented

Resets bit 2 of the memory location pointed to by IY plus dd. The result is then stored in D.

423
res 2,(iy+dd),e undocumented

Resets bit 2 of the memory location pointed to by IY plus dd. The result is then stored in E.

423
res 2,(iy+dd),h undocumented

Resets bit 2 of the memory location pointed to by IY plus dd. The result is then stored in H.

423
res 2,(iy+dd),l undocumented

Resets bit 2 of the memory location pointed to by IY plus dd. The result is then stored in L.

423
res 2,(iy+dd)

Resets bit 2 of the memory location pointed to by IY plus dd.

423
res 2,(iy+dd),a undocumented

Resets bit 2 of the memory location pointed to by IY plus dd. The result is then stored in A.

423
res 3,(iy+dd),b undocumented

Resets bit 3 of the memory location pointed to by IY plus dd. The result is then stored in B.

423
res 3,(iy+dd),c undocumented

Resets bit 3 of the memory location pointed to by IY plus dd. The result is then stored in C.

423
res 3,(iy+dd),d undocumented

Resets bit 3 of the memory location pointed to by IY plus dd. The result is then stored in D.

423
res 3,(iy+dd),e undocumented

Resets bit 3 of the memory location pointed to by IY plus dd. The result is then stored in E.

423
res 3,(iy+dd),h undocumented

Resets bit 3 of the memory location pointed to by IY plus dd. The result is then stored in H.

423
res 3,(iy+dd),l undocumented

Resets bit 3 of the memory location pointed to by IY plus dd. The result is then stored in L.

423
res 3,(iy+dd)

Resets bit 3 of the memory location pointed to by IY plus dd.

423
res 3,(iy+dd),a undocumented

Resets bit 3 of the memory location pointed to by IY plus dd. The result is then stored in A.

423
res 4,(iy+dd),b undocumented

Resets bit 4 of the memory location pointed to by IY plus dd. The result is then stored in B.

423
res 4,(iy+dd),c undocumented

Resets bit 4 of the memory location pointed to by IY plus dd. The result is then stored in C.

423
res 4,(iy+dd),d undocumented

Resets bit 4 of the memory location pointed to by IY plus dd. The result is then stored in D.

423
res 4,(iy+dd),e undocumented

Resets bit 4 of the memory location pointed to by IY plus dd. The result is then stored in E.

423
res 4,(iy+dd),h undocumented

Resets bit 4 of the memory location pointed to by IY plus dd. The result is then stored in H.

423
res 4,(iy+dd),l undocumented

Resets bit 4 of the memory location pointed to by IY plus dd. The result is then stored in L.

423
res 4,(iy+dd)

Resets bit 4 of the memory location pointed to by IY plus dd.

423
res 4,(iy+dd),a undocumented

Resets bit 4 of the memory location pointed to by IY plus dd. The result is then stored in A.

423
res 5,(iy+dd),b undocumented

Resets bit 5 of the memory location pointed to by IY plus dd. The result is then stored in B.

423
res 5,(iy+dd),c undocumented

Resets bit 5 of the memory location pointed to by IY plus dd. The result is then stored in C.

423
res 5,(iy+dd),d undocumented

Resets bit 5 of the memory location pointed to by IY plus dd. The result is then stored in D.

423
res 5,(iy+dd),e undocumented

Resets bit 5 of the memory location pointed to by IY plus dd. The result is then stored in E.

423
res 5,(iy+dd),h undocumented

Resets bit 5 of the memory location pointed to by IY plus dd. The result is then stored in H.

423
res 5,(iy+dd),l undocumented

Resets bit 5 of the memory location pointed to by IY plus dd. The result is then stored in L.

423
res 5,(iy+dd)

Resets bit 5 of the memory location pointed to by IY plus dd.

423
res 5,(iy+dd),a undocumented

Resets bit 5 of the memory location pointed to by IY plus dd. The result is then stored in A.

423
res 6,(iy+dd),b undocumented

Resets bit 6 of the memory location pointed to by IY plus dd. The result is then stored in B.

423
res 6,(iy+dd),c undocumented

Resets bit 6 of the memory location pointed to by IY plus dd. The result is then stored in C.

423
res 6,(iy+dd),d undocumented

Resets bit 6 of the memory location pointed to by IY plus dd. The result is then stored in D.

423
res 6,(iy+dd),e undocumented

Resets bit 6 of the memory location pointed to by IY plus dd. The result is then stored in E.

423
res 6,(iy+dd),h undocumented

Resets bit 6 of the memory location pointed to by IY plus dd. The result is then stored in H.

423
res 6,(iy+dd),l undocumented

Resets bit 6 of the memory location pointed to by IY plus dd. The result is then stored in L.

423
res 6,(iy+dd)

Resets bit 6 of the memory location pointed to by IY plus dd.

423
res 6,(iy+dd),a undocumented

Resets bit 6 of the memory location pointed to by IY plus dd. The result is then stored in A.

423
res 7,(iy+dd),b undocumented

Resets bit 7 of the memory location pointed to by IY plus dd. The result is then stored in B.

423
res 7,(iy+dd),c undocumented

Resets bit 7 of the memory location pointed to by IY plus dd. The result is then stored in C.

423
res 7,(iy+dd),d undocumented

Resets bit 7 of the memory location pointed to by IY plus dd. The result is then stored in D.

423
res 7,(iy+dd),e undocumented

Resets bit 7 of the memory location pointed to by IY plus dd. The result is then stored in E.

423
res 7,(iy+dd),h undocumented

Resets bit 7 of the memory location pointed to by IY plus dd. The result is then stored in H.

423
res 7,(iy+dd),l undocumented

Resets bit 7 of the memory location pointed to by IY plus dd. The result is then stored in L.

423
res 7,(iy+dd)

Resets bit 7 of the memory location pointed to by IY plus dd.

423
res 7,(iy+dd),a undocumented

Resets bit 7 of the memory location pointed to by IY plus dd. The result is then stored in A.

423