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 | C=0N=0P/V=PH=1ZS | 1 | 4 | |
| and c | C=0N=0P/V=PH=1ZS | 1 | 4 | |
| and d | C=0N=0P/V=PH=1ZS | 1 | 4 | |
| and e | C=0N=0P/V=PH=1ZS | 1 | 4 | |
| and h | C=0N=0P/V=PH=1ZS | 1 | 4 | |
| and l | C=0N=0P/V=PH=1ZS | 1 | 4 | |
| and (hl) | C=0N=0P/V=PH=1ZS | 1 | 7 | |
| and a | C=0N=0P/V=PH=1ZS | 1 | 4 | |
| and ixh undocumented | C=0N=0P/V=PH=1ZS | 2 | 8 | |
| and ixl undocumented | C=0N=0P/V=PH=1ZS | 2 | 8 | |
| and (ix+dd) | C=0N=0P/V=PH=1ZS | 3 | 19 | |
| and nn | C=0N=0P/V=PH=1ZS | 2 | 7 | |
| and iyh undocumented | C=0N=0P/V=PH=1ZS | 2 | 8 | |
| and iyl undocumented | C=0N=0P/V=PH=1ZS | 2 | 8 | |
| and (iy+dd) | C=0N=0P/V=PH=1ZS | 3 | 19 |