Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/nes
/ pha
Method
pha
nes/cpu.go:769–771 ·
view source on GitHub ↗
PHA - Push Accumulator
(info *stepInfo)
Source
from the content-addressed store, hash-verified
767
768
// PHA - Push Accumulator
769
func
(cpu *CPU) pha(info *stepInfo) {
770
cpu.push(cpu.A)
771
}
772
773
// PHP - Push Processor Status
774
func
(cpu *CPU) php(info *stepInfo) {
Callers
nothing calls this directly
Calls
1
push
Method · 0.95
Tested by
no test coverage detected