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

Method push16

source/emulation/cpu/common/cpu.cpp:1090–1094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1088}
1089
1090void 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
1096U32 CPU::push16_r(U32 esp, U16 value) {
1097 U32 new_esp=(esp & this->stackNotMask) | ((esp - 2) & this->stackMask);

Callers 10

common_push16Function · 0.45
common_pushA16Function · 0.45
normal_pushEw_regFunction · 0.45
normal_pushEw_memFunction · 0.45
normal_pushSeg16Function · 0.45
normal_push16immFunction · 0.45
normal_pushf16Function · 0.45
normal_callJwFunction · 0.45
normal_callR16Function · 0.45
normal_callE16Function · 0.45

Calls 1

writewMethod · 0.45

Tested by

no test coverage detected