- CAL Opcode: 0x00D OR
Stack
Param1
Param2
CAL OR
<= result <=
Description
Pushes the bitwise OR value of the two arguments onto the stack. This is a sub-operation of the CAL opcode (0x01): the CAL handler dispatches on an operator index and this one (index 0x0D) replaces the top two stack slots with their bitwise OR (pop two, push one result).
PC handler: SCRIPT_CAL_OR, dispatched by Script_CAL via the CAL operator table.
Function addresses
| Function | Address | Description |
|---|---|---|
SCRIPT_CAL_OR | 0x51C3D0 | Field script opcode handler (verified IDA function) |
Script_CAL | 0x51C4B0 | Dispatcher for CAL sub-operators (verified IDA function) |
| CAL operator table | 0xB8DE4C | Data table indexed by operator, not a function |