Bitwise AND on A with B.
and
Operands
and r | and r,r' | and (rr) | and r,(rr) | and (ii+dd) | and r,(ii+dd) | and nn | and r,nnLoading...
Variants
Every form of and the assembler accepts. The cycles column counts clock
cycles, written as taken/not taken for the conditional forms.
| Instruction | Description | Flags | Bytes | Cycles |
|---|---|---|---|---|
| and b | Bitwise AND on A with B. | C=0N=0P/V=PH=1ZS | 1 | 4 |
| and c | Bitwise AND on A with C. | C=0N=0P/V=PH=1ZS | 1 | 4 |
| and d | Bitwise AND on A with D. | C=0N=0P/V=PH=1ZS | 1 | 4 |
| and e | Bitwise AND on A with E. | C=0N=0P/V=PH=1ZS | 1 | 4 |
| and h | Bitwise AND on A with H. | C=0N=0P/V=PH=1ZS | 1 | 4 |
| and l | Bitwise AND on A with L. | C=0N=0P/V=PH=1ZS | 1 | 4 |
| and (hl) | Bitwise AND on A with (HL). | C=0N=0P/V=PH=1ZS | 1 | 7 |
| and a | Bitwise AND on A with A. | C=0N=0P/V=PH=1ZS | 1 | 4 |
| and ixh undocumented | Bitwise AND on A with IXH. | C=0N=0P/V=PH=1ZS | 2 | 8 |
| and ixl undocumented | Bitwise AND on A with IXL. | C=0N=0P/V=PH=1ZS | 2 | 8 |
| and (ix+dd) | Bitwise AND on A with the value pointed to by IX plus | C=0N=0P/V=PH=1ZS | 3 | 19 |
| and nn | Bitwise AND on A with | C=0N=0P/V=PH=1ZS | 2 | 7 |
| and iyh undocumented | Bitwise AND on A with IYH. | C=0N=0P/V=PH=1ZS | 2 | 8 |
| and iyl undocumented | Bitwise AND on A with IYL. | C=0N=0P/V=PH=1ZS | 2 | 8 |
| and (iy+dd) | Bitwise AND on A with the value pointed to by IY plus | C=0N=0P/V=PH=1ZS | 3 | 19 |