MCPcopy
hub / github.com/fogleman/nes / eor

Method eor

nes/cpu.go:690–693  ·  view source on GitHub ↗

EOR - Exclusive OR

(info *stepInfo)

Source from the content-addressed store, hash-verified

688
689// EOR - Exclusive OR
690func (cpu *CPU) eor(info *stepInfo) {
691 cpu.A = cpu.A ^ cpu.Read(info.address)
692 cpu.setZN(cpu.A)
693}
694
695// INC - Increment Memory
696func (cpu *CPU) inc(info *stepInfo) {

Callers

nothing calls this directly

Calls 2

setZNMethod · 0.95
ReadMethod · 0.65

Tested by

no test coverage detected