MCPcopy Index your code
hub / github.com/fogleman/nes / pla

Method pla

nes/cpu.go:779–782  ·  view source on GitHub ↗

PLA - Pull Accumulator

(info *stepInfo)

Source from the content-addressed store, hash-verified

777
778// PLA - Pull Accumulator
779func (cpu *CPU) pla(info *stepInfo) {
780 cpu.A = cpu.pull()
781 cpu.setZN(cpu.A)
782}
783
784// PLP - Pull Processor Status
785func (cpu *CPU) plp(info *stepInfo) {

Callers

nothing calls this directly

Calls 2

pullMethod · 0.95
setZNMethod · 0.95

Tested by

no test coverage detected