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

Method verw

source/emulation/cpu/common/cpu.cpp:1161–1175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1159}
1160
1161void CPU::verw(U32 selector) {
1162 this->fillFlags();
1163 if (selector == 0) {
1164 this->removeZF();
1165 return;
1166 }
1167 U32 index = selector >> 3;
1168 struct user_desc* ldt = this->thread->getLDT(index);
1169
1170 if (!ldt || ldt->seg_not_present || ldt->read_exec_only) {
1171 this->removeZF();
1172 } else {
1173 this->addZF();
1174 }
1175}
1176
1177U32 CPU::getEipAddress() {
1178 if (this->isBig())

Callers 3

common_verwe16Function · 0.80
common_verwFunction · 0.80
normal_verwe16Function · 0.80

Calls 4

fillFlagsMethod · 0.95
removeZFMethod · 0.95
addZFMethod · 0.95
getLDTMethod · 0.45

Tested by

no test coverage detected