EOR
"Exclusive-Or" Memory With Accumulator
Operation: A EOR M -> A
N V - B D I Z C / . . . . . / .
| Addressing Mode | Assembly Language Form | OP CODE | No. Bytes | No. Cycles |
|---|---|---|---|---|
| Immediate | EOR #$FF | $49 | 2 | 2 |
| ZeroPage | EOR $FF | $45 | 2 | 3 |
| ZeroPage,X | EOR $FF,X | $55 | 2 | 4 |
| Absolute | EOR $FFFF | $4D | 3 | 4 |
| Absolute,X | EOR $FFFF,X | $5D | 3 | 4* |
| Absolute,Y | EOR $FFFF,Y | $59 | 3 | 4* |
| (Indirect,X) | EOR ($FF,X) | $41 | 2 | 6 |
| (Indirect),Y | EOR ($FF),Y | $51 | 2 | 5* |
* Add 1 if page boundary is crossed.
For penalty cycles on the 65816, check the desired addressing mode.