Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0B11

Opcode Database

0B11

DescriptionPerforms a logical bitwise OR operation. This is used to enable bits. In the example, the opcode enables the 8th bit of the value in 0@.

Examples
0xFF = 0x7F OR 0x80
0x40 = 0x40 OR 0x40
0x41 = 0x40 OR 0x41
0x07 = 0x04 OR 0x03
Parameters (v2)1) Integer (INT)
2) Integer (INT)
3) (Returned) Integer (INT)
Gamessa
CategoryIntOperations
San Andreas
sascm.ini0B11=3,bitwise_or %1d% or %2d% store_to %3d%
Example0B11: bitwise_or 0@ or 0x80 store_to 0@
Command NameBITWISE_OR

<< 0B10

0B12 >>