Skip to content

Bitwise Operations

These instructions perform low-level binary manipulation, shifts, and bitwise logical gates.

OpcodeArgumentsOperands (stack)Description
shl / shrtypeval1, val2Shift Left or Shift Right bitwise operation
rol / rortypeval1, val2Circular Shift Left or Right (Rotate)
xor-val1, val2Bitwise Exclusive OR operation
not-valBitwise NOT (Inversion) operation