Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0B10

Opcode Database

0B10

DescriptionPerforms a logical bitwise AND operation. This is used to disable bits. In the example, the opcode returns the low 1 byte.

Examples
0x8F = 0x8F AND 0xFF
0x10 = 0xFF AND 0x10
0x01 = 0x05 AND 0x03
0x40 = 0x48 AND 0x40
Parameters (v2)1) Integer (INT)
2) Integer (INT)
3) (Returned) Integer (INT)
Gamessa
CategoryIntOperations
San Andreas
sascm.ini0B10=3,bitwise_and %1d% and %2d% store_to %3d%
Example0B10: bitwise_and 0@ and 0xFF store_to 0@
Command NameBITWISE_AND

<< 0B05

0B11 >>