GTAG - Modding - Opcode Database - 0B15
Opcode Database
0B15
| Description | Performs a logical shift to right. Each bit of the value moves n positions to the right, the new bits on the left will be disabled. Excess on the right will be discarded. It can be used for integer division of a number by the power of two. |
|---|---|
| Parameters (v2) | 1) Integer (INT) 2) Integer (INT) 3) (Returned) Integer (INT) |
| Games | |
| Category | IntOperations |
| San Andreas | |
| sascm.ini | 0B15=3,bitwise_shr %1d% shr %2d% store_to %3d% |
| Example | 0B15: bitwise_shr 0@ shr 8 store_to 0@ |
| Command Name | BITWISE_SHR |

