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