/opcodes/and

Arithmetic // AND, OR, XOR

Description

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.

Example

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).

Opcodes