Arithmetic // AND, OR, XOR
A logical AND operation is performed between the byte specified by the s operand and the byte contained in the Accumulator; the result is stored in the Accumulator.
If Register B contains 7Bh (0111 1011) and the Accumulator contains C3h (1100 0011), then upon the execution of an AND B instruction, the Accumulator contains 43h (0100 0011).
and b 0xA0,
1 bytes, 4Tand c 0xA1,
1 bytes, 4Tand d 0xA2,
1 bytes, 4Tand e 0xA3,
1 bytes, 4Tand h 0xA4,
1 bytes, 4Tand l 0xA5,
1 bytes, 4Tand (hl) 0xA6,
1 bytes, 7Tand a 0xA7,
1 bytes, 4Tand * 0xE6,
2 bytes, 7Tand ixh 0xDDA4,
2 bytes, 8Tand ixl 0xDDA5,
2 bytes, 8Tand (ix+*) 0xDDA6,
3 bytes, 19Tand iyh 0xFDA4,
2 bytes, 8Tand iyl 0xFDA5,
2 bytes, 8Tand (iy+*) 0xFDA6,
3 bytes, 19T