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

Method lda

nes/cpu.go:726–729  ·  view source on GitHub ↗

LDA - Load Accumulator

(info *stepInfo)

Source from the content-addressed store, hash-verified

724
725// LDA - Load Accumulator
726func (cpu *CPU) lda(info *stepInfo) {
727 cpu.A = cpu.Read(info.address)
728 cpu.setZN(cpu.A)
729}
730
731// LDX - Load X Register
732func (cpu *CPU) ldx(info *stepInfo) {

Callers

nothing calls this directly

Calls 2

setZNMethod · 0.95
ReadMethod · 0.65

Tested by

no test coverage detected