Implement OR and XOR opcodes.