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

Method sed

nes/cpu.go:859–861  ·  view source on GitHub ↗

SED - Set Decimal Flag

(info *stepInfo)

Source from the content-addressed store, hash-verified

857
858// SED - Set Decimal Flag
859func (cpu *CPU) sed(info *stepInfo) {
860 cpu.D = 1
861}
862
863// SEI - Set Interrupt Disable
864func (cpu *CPU) sei(info *stepInfo) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected