and

Operands

and r | and r,r' | and (rr) | and r,(rr) | and (ii+dd) | and r,(ii+dd) | and nn | and r,nn

Bitwise AND on A with B.

Loading...

Variants

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

InstructionDescriptionFlagsBytesCycles
and b

Bitwise AND on A with B.

C=0N=0P/V=PH=1ZS14
and c

Bitwise AND on A with C.

C=0N=0P/V=PH=1ZS14
and d

Bitwise AND on A with D.

C=0N=0P/V=PH=1ZS14
and e

Bitwise AND on A with E.

C=0N=0P/V=PH=1ZS14
and h

Bitwise AND on A with H.

C=0N=0P/V=PH=1ZS14
and l

Bitwise AND on A with L.

C=0N=0P/V=PH=1ZS14
and (hl)

Bitwise AND on A with (HL).

C=0N=0P/V=PH=1ZS17
and a

Bitwise AND on A with A.

C=0N=0P/V=PH=1ZS14
and ixh undocumented

Bitwise AND on A with IXH.

C=0N=0P/V=PH=1ZS28
and ixl undocumented

Bitwise AND on A with IXL.

C=0N=0P/V=PH=1ZS28
and (ix+dd)

Bitwise AND on A with the value pointed to by IX plus dd.

C=0N=0P/V=PH=1ZS319
and nn

Bitwise AND on A with nn.

C=0N=0P/V=PH=1ZS27
and iyh undocumented

Bitwise AND on A with IYH.

C=0N=0P/V=PH=1ZS28
and iyl undocumented

Bitwise AND on A with IYL.

C=0N=0P/V=PH=1ZS28
and (iy+dd)

Bitwise AND on A with the value pointed to by IY plus dd.

C=0N=0P/V=PH=1ZS319