Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/nes
/ rts
Method
rts
nes/cpu.go:830–832 ·
view source on GitHub ↗
RTS - Return from Subroutine
(info *stepInfo)
Source
from the content-addressed store, hash-verified
828
829
// RTS - Return from Subroutine
830
func
(cpu *CPU) rts(info *stepInfo) {
831
cpu.PC = cpu.pull16() + 1
832
}
833
834
// SBC - Subtract with Carry
835
func
(cpu *CPU) sbc(info *stepInfo) {
Callers
nothing calls this directly
Calls
1
pull16
Method · 0.95
Tested by
no test coverage detected