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

Method bpl

nes/cpu.go:601–606  ·  view source on GitHub ↗

BPL - Branch if Positive

(info *stepInfo)

Source from the content-addressed store, hash-verified

599
600// BPL - Branch if Positive
601func (cpu *CPU) bpl(info *stepInfo) {
602 if cpu.N == 0 {
603 cpu.PC = info.address
604 cpu.addBranchCycles(info)
605 }
606}
607
608// BRK - Force Interrupt
609func (cpu *CPU) brk(info *stepInfo) {

Callers

nothing calls this directly

Calls 1

addBranchCyclesMethod · 0.95

Tested by

no test coverage detected