MCPcopy Create free account
hub / github.com/fogleman/nes / bcs

Method bcs

nes/cpu.go:561–566  ·  view source on GitHub ↗

BCS - Branch if Carry Set

(info *stepInfo)

Source from the content-addressed store, hash-verified

559
560// BCS - Branch if Carry Set
561func (cpu *CPU) bcs(info *stepInfo) {
562 if cpu.C != 0 {
563 cpu.PC = info.address
564 cpu.addBranchCycles(info)
565 }
566}
567
568// BEQ - Branch if Equal
569func (cpu *CPU) beq(info *stepInfo) {

Callers

nothing calls this directly

Calls 1

addBranchCyclesMethod · 0.95

Tested by

no test coverage detected