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

Method sec

nes/cpu.go:854–856  ·  view source on GitHub ↗

SEC - Set Carry Flag

(info *stepInfo)

Source from the content-addressed store, hash-verified

852
853// SEC - Set Carry Flag
854func (cpu *CPU) sec(info *stepInfo) {
855 cpu.C = 1
856}
857
858// SED - Set Decimal Flag
859func (cpu *CPU) sed(info *stepInfo) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected