/opcodes/or

Arithmetic // AND, OR, XOR

Description

A logical OR 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 the H Register contains 48h (0100 0100), and the Accumulator contains 12h (0001 0010), then upon the execution of an OR H instruction, the Accumulator contains 5Ah (0101 1010).

Opcodes