| 430 | } |
| 431 | |
| 432 | void 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 | |
| 444 | U32 aam(CPU* cpu, U32 value) { |
| 445 | if (value) { |
no test coverage detected