| 996 | } |
| 997 | |
| 998 | void CPU::addZF() { |
| 999 | #ifdef _DEBUG |
| 1000 | if (this->lazyFlagType !=FLAGS_NONE) { |
| 1001 | kpanic("CPU::fillFlags must be called before CPU::addZF"); |
| 1002 | } |
| 1003 | #endif |
| 1004 | this->flags|=ZF; |
| 1005 | } |
| 1006 | |
| 1007 | void CPU::removeZF() { |
| 1008 | #ifdef _DEBUG |
no test coverage detected