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

Method bvs

nes/cpu.go:625–630  ·  view source on GitHub ↗

BVS - Branch if Overflow Set

(info *stepInfo)

Source from the content-addressed store, hash-verified

623
624// BVS - Branch if Overflow Set
625func (cpu *CPU) bvs(info *stepInfo) {
626 if cpu.V != 0 {
627 cpu.PC = info.address
628 cpu.addBranchCycles(info)
629 }
630}
631
632// CLC - Clear Carry Flag
633func (cpu *CPU) clc(info *stepInfo) {

Callers

nothing calls this directly

Calls 1

addBranchCyclesMethod · 0.95

Tested by

no test coverage detected