| 1088 | } |
| 1089 | |
| 1090 | void CPU::push16(U16 value) { |
| 1091 | U32 new_esp=(THIS_ESP & this->stackNotMask) | ((THIS_ESP - 2) & this->stackMask); |
| 1092 | memory->writew(this->seg[SS].address + (new_esp & this->stackMask) ,value); |
| 1093 | THIS_ESP = new_esp; |
| 1094 | } |
| 1095 | |
| 1096 | U32 CPU::push16_r(U32 esp, U16 value) { |
| 1097 | U32 new_esp=(esp & this->stackNotMask) | ((esp - 2) & this->stackMask); |
no test coverage detected