Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/nes
/ php
Method
php
nes/cpu.go:774–776 ·
view source on GitHub ↗
PHP - Push Processor Status
(info *stepInfo)
Source
from the content-addressed store, hash-verified
772
773
// PHP - Push Processor Status
774
func
(cpu *CPU) php(info *stepInfo) {
775
cpu.push(cpu.Flags() | 0x10)
776
}
777
778
// PLA - Pull Accumulator
779
func
(cpu *CPU) pla(info *stepInfo) {
Callers
3
nmi
Method · 0.95
irq
Method · 0.95
brk
Method · 0.95
Calls
2
push
Method · 0.95
Flags
Method · 0.95
Tested by
no test coverage detected