Ex6502.CPU.Executor.EOR (ex6502 v0.1.0) View Source
Perform an exclusive OR (XOR) operation with the accumulator eor the location
Stores the result into the accumulator.
Operation
A ⊻ M -> A
Table
EOR Exclusive-OR Memory with Accumulator
A EOR M -> A N Z C I D V
+ + - - - -
addressing assembler opc bytes cyles
immidiate EOR #oper 49 2 2 zeropage EOR oper 45 2 3 zeropage,X EOR oper,X 55 2 4 absolute EOR oper 4D 3 4 absolute,X EOR oper,X 5D 3 4 absolute,Y EOR oper,Y 59 3 4 (indirect,X) EOR (oper,X) 41 2 6 (indirect),Y EOR (oper),Y 51 2 5*
Flags
- Zero: 1 if result is zero; 0 otherwise
- Negative: 1 if bit 7 of result is 1; 0 otherwise