EOR

"Exclusive-Or" Memory With Accumulator

Operation:  A EOR M -> A

N V - B D I Z C
/ . . . . . / .
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
ImmediateEOR #$FF$4922
ZeroPageEOR $FF$4523
ZeroPage,XEOR $FF,X$5524
AbsoluteEOR $FFFF$4D34
Absolute,XEOR $FFFF,X$5D34*
Absolute,YEOR $FFFF,Y$5934*
(Indirect,X)EOR ($FF,X)$4126
(Indirect),YEOR ($FF),Y$5125*

* Add 1 if page boundary is crossed.

For penalty cycles on the 65816, check the desired addressing mode.