set

Operands

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

Sets bit 0 of B.

Loading...

Variants

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

InstructionDescriptionFlagsBytesCycles
set 0,b

Sets bit 0 of B.

28
set 0,c

Sets bit 0 of C.

28
set 0,d

Sets bit 0 of D.

28
set 0,e

Sets bit 0 of E.

28
set 0,h

Sets bit 0 of H.

28
set 0,l

Sets bit 0 of L.

28
set 0,(hl)

Sets bit 0 of (HL).

215
set 0,a

Sets bit 0 of A.

28
set 1,b

Sets bit 1 of B.

28
set 1,c

Sets bit 1 of C.

28
set 1,d

Sets bit 1 of D.

28
set 1,e

Sets bit 1 of E.

28
set 1,h

Sets bit 1 of H.

28
set 1,l

Sets bit 1 of L.

28
set 1,(hl)

Sets bit 1 of (HL).

215
set 1,a

Sets bit 1 of A.

28
set 2,b

Sets bit 2 of B.

28
set 2,c

Sets bit 2 of C.

28
set 2,d

Sets bit 2 of D.

28
set 2,e

Sets bit 2 of E.

28
set 2,h

Sets bit 2 of H.

28
set 2,l

Sets bit 2 of L.

28
set 2,(hl)

Sets bit 2 of (HL).

215
set 2,a

Sets bit 2 of A.

28
set 3,b

Sets bit 3 of B.

28
set 3,c

Sets bit 3 of C.

28
set 3,d

Sets bit 3 of D.

28
set 3,e

Sets bit 3 of E.

28
set 3,h

Sets bit 3 of H.

28
set 3,l

Sets bit 3 of L.

28
set 3,(hl)

Sets bit 3 of (HL).

215
set 3,a

Sets bit 3 of A.

28
set 4,b

Sets bit 4 of B.

28
set 4,c

Sets bit 4 of C.

28
set 4,d

Sets bit 4 of D.

28
set 4,e

Sets bit 4 of E.

28
set 4,h

Sets bit 4 of H.

28
set 4,l

Sets bit 4 of L.

28
set 4,(hl)

Sets bit 4 of (HL).

215
set 4,a

Sets bit 4 of A.

28
set 5,b

Sets bit 5 of B.

28
set 5,c

Sets bit 5 of C.

28
set 5,d

Sets bit 5 of D.

28
set 5,e

Sets bit 5 of E.

28
set 5,h

Sets bit 5 of H.

28
set 5,l

Sets bit 5 of L.

28
set 5,(hl)

Sets bit 5 of (HL).

215
set 5,a

Sets bit 5 of A.

28
set 6,b

Sets bit 6 of B.

28
set 6,c

Sets bit 6 of C.

28
set 6,d

Sets bit 6 of D.

28
set 6,e

Sets bit 6 of E.

28
set 6,h

Sets bit 6 of H.

28
set 6,l

Sets bit 6 of L.

28
set 6,(hl)

Sets bit 6 of (HL).

215
set 6,a

Sets bit 6 of A.

28
set 7,b

Sets bit 7 of B.

28
set 7,c

Sets bit 7 of C.

28
set 7,d

Sets bit 7 of D.

28
set 7,e

Sets bit 7 of E.

28
set 7,h

Sets bit 7 of H.

28
set 7,l

Sets bit 7 of L.

28
set 7,(hl)

Sets bit 7 of (HL).

215
set 7,a

Sets bit 7 of A.

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

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

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

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

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

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

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

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

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

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

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

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

423
set 0,(ix+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 1,(ix+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 2,(ix+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 3,(ix+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 4,(ix+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 5,(ix+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 6,(ix+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 7,(ix+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 0,(iy+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 1,(iy+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 2,(iy+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 3,(iy+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 4,(iy+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 5,(iy+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 6,(iy+dd)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

423
set 7,(iy+dd)

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

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

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

423