- CAL Opcode: 0x00C AND
Stack
Param1
Param2
CAL AND
<= result <=
Description
Pushes the bitwise AND 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 0x0C) replaces the top two stack slots with their bitwise AND (pop two, push one result).
PC handler: SCRIPT_CAL_AND, dispatched by Script_CAL via the CAL operator table.
Function addresses
| Function | Address | Description |
|---|---|---|
SCRIPT_CAL_AND | 0x51C3A0 | 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 |