Arithmetic and Logic Operations 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.