Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
779
func
(cpu *CPU) pla(info *stepInfo) {
780
cpu.A = cpu.pull()
781
cpu.setZN(cpu.A)
782
}
783
784
// PLP - Pull Processor Status
785
func
(cpu *CPU) plp(info *stepInfo) {
Callers
nothing calls this directly
Calls
2
pull
Method · 0.95
setZN
Method · 0.95
Tested by
no test coverage detected