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

Function aad

source/emulation/cpu/normal/instructions.cpp:432–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432void aad(CPU* cpu, U32 value) {
433 AL = AH * value + AL;
434 AH = 0;
435 cpu->lazyFlagType = FLAGS_NONE;
436 cpu->setSF(AL & 0x80);
437 cpu->setZF(AL == 0);
438 cpu->setPFonValue(AL);
439 cpu->removeCF();
440 cpu->removeOF();
441 cpu->removeAF();
442}
443
444U32 aam(CPU* cpu, U32 value) {
445 if (value) {

Callers 1

normal_aadFunction · 0.70

Calls 6

setSFMethod · 0.80
setZFMethod · 0.80
setPFonValueMethod · 0.80
removeCFMethod · 0.80
removeOFMethod · 0.80
removeAFMethod · 0.80

Tested by

no test coverage detected