MCPcopy Create free account
hub / github.com/fogleman/nes / ora

Method ora

nes/cpu.go:763–766  ·  view source on GitHub ↗

ORA - Logical Inclusive OR

(info *stepInfo)

Source from the content-addressed store, hash-verified

761
762// ORA - Logical Inclusive OR
763func (cpu *CPU) ora(info *stepInfo) {
764 cpu.A = cpu.A | cpu.Read(info.address)
765 cpu.setZN(cpu.A)
766}
767
768// PHA - Push Accumulator
769func (cpu *CPU) pha(info *stepInfo) {

Callers

nothing calls this directly

Calls 2

setZNMethod · 0.95
ReadMethod · 0.65

Tested by

no test coverage detected