View Source Chip8.Interpreter.Instruction.OR (chip8 v1.0.0)

Calculates the bitwise OR between two operands.

The result of this operation is stored in the first operand. A bitwise OR compares the corresponding bits of the values, when either of the bits is 1 it results in a 1, and 0 otherwise.

variants

Variants

OpcodeMnemonicDescription
8xy1OR Vx, VySet Vx = Vx OR Vy.