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

Method dex

nes/cpu.go:678–681  ·  view source on GitHub ↗

DEX - Decrement X Register

(info *stepInfo)

Source from the content-addressed store, hash-verified

676
677// DEX - Decrement X Register
678func (cpu *CPU) dex(info *stepInfo) {
679 cpu.X--
680 cpu.setZN(cpu.X)
681}
682
683// DEY - Decrement Y Register
684func (cpu *CPU) dey(info *stepInfo) {

Callers

nothing calls this directly

Calls 1

setZNMethod · 0.95

Tested by

no test coverage detected