Opcodes that perform arithmetic and logic operations are -, +, &&, !, ||, *, /, ^, <<, >>, #, &, |, ¬, % and cmp.
See the Conditional Values section and the if family of opcodes for usage of logical operators.