MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / setSF

Method setSF

source/emulation/cpu/common/cpu.cpp:937–946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

935}
936
937void CPU::setSF(U32 value) {
938#ifdef _DEBUG
939 if (this->lazyFlagType !=FLAGS_NONE) {
940 kpanic("CPU::fillFlags must be called before CPU::setSF");
941 }
942#endif
943 this->flags&=~SF;
944 if (value)
945 this->flags|=SF;
946}
947
948void CPU::setZF(U32 value) {
949#ifdef _DEBUG

Callers 6

daaFunction · 0.80
dasFunction · 0.80
aaaFunction · 0.80
aasFunction · 0.80
aadFunction · 0.80
aamFunction · 0.80

Calls 1

kpanicFunction · 0.85

Tested by

no test coverage detected