Skip to content

Boolean Operation Opcodes ​

This section documents the boolean operations instructions available in CandleVM.

For operand encodings, see the executable format reference.

Boolean operations ​

Opcode byteOpcodeOperand bytesBehavior
33Anddestination: register, left: register, right: registerBoolean bitwise AND; both operands must be Bool values. It is not short-circuit evaluation.
34Ordestination: register, left: register, right: registerBoolean bitwise OR; both operands must be Bool values. It is not short-circuit evaluation.
35Xordestination: register, left: register, right: registerBoolean exclusive OR; both operands must be Bool values.
36Notdestination: register, source: registerBoolean negation; the source must be boolean.

Built for the Candle ecosystem · Powered by VitePress.