MCPcopy
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
703func (cpu *CPU) inx(info *stepInfo) {
704 cpu.X++
705 cpu.setZN(cpu.X)
706}
707
708// INY - Increment Y Register
709func (cpu *CPU) iny(info *stepInfo) {

Callers

nothing calls this directly

Calls 1

setZNMethod · 0.95

Tested by

no test coverage detected