MCPcopy
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
769func (cpu *CPU) pha(info *stepInfo) {
770 cpu.push(cpu.A)
771}
772
773// PHP - Push Processor Status
774func (cpu *CPU) php(info *stepInfo) {

Callers

nothing calls this directly

Calls 1

pushMethod · 0.95

Tested by

no test coverage detected