Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/nes
/ inx
Method
inx
nes/cpu.go:703–706 ·
view source on GitHub ↗
INX - Increment X Register
(info *stepInfo)
Source
from the content-addressed store, hash-verified
701
702
// INX - Increment X Register
703
func
(cpu *CPU) inx(info *stepInfo) {
704
cpu.X++
705
cpu.setZN(cpu.X)
706
}
707
708
// INY - Increment Y Register
709
func
(cpu *CPU) iny(info *stepInfo) {
Callers
nothing calls this directly
Calls
1
setZN
Method · 0.95
Tested by
no test coverage detected