Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0B12

Opcode Database

0B12

DescriptionPerforms a logical bitwise exclusive OR operation. In the example, the 1st bit will be disabled if it is enabled. Otherwise, it will be enabled.
Parameters (v2)1) Integer (INT)
2) Integer (INT)
3) (Returned) Integer (INT)
Gamessa
CategoryIntOperations
San Andreas
sascm.ini0B12=3,bitwise_xor %1d% xor %2d% store_to %3d%
Example0B12: bitwise_xor 1@ xor 1 store_to 0@
Command NameBITWISE_XOR

<< 0B11

0B13 >>