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

Method setZF

source/emulation/cpu/common/cpu.cpp:948–957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

946}
947
948void CPU::setZF(U32 value) {
949#ifdef _DEBUG
950 if (this->lazyFlagType !=FLAGS_NONE) {
951 kpanic("CPU::fillFlags must be called before CPU::setZF");
952 }
953#endif
954 this->flags&=~ZF;
955 if (value)
956 this->flags|=ZF;
957}
958
959extern U8 parity_lookup[256] ;
960void CPU::setPFonValue(U32 value) {

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