GTAG - Modding - Opcode Database - 0B11
Opcode Database
0B11
| Description | Performs 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) |
| Games | |
| Category | IntOperations |
| San Andreas | |
| sascm.ini | 0B11=3,bitwise_or %1d% or %2d% store_to %3d% |
| Example | 0B11: bitwise_or 0@ or 0x80 store_to 0@ |
| Command Name | BITWISE_OR |

