Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
678
func
(cpu *CPU) dex(info *stepInfo) {
679
cpu.X--
680
cpu.setZN(cpu.X)
681
}
682
683
// DEY - Decrement Y Register
684
func
(cpu *CPU) dey(info *stepInfo) {
Callers
nothing calls this directly
Calls
1
setZN
Method · 0.95
Tested by
no test coverage detected