MCPcopy Create free account
hub / github.com/WheretIB/nullc / GenCodeCmdPushCharStk

Function GenCodeCmdPushCharStk

NULLC/CodeGen_X86.cpp:1363–1371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1361}
1362
1363void GenCodeCmdPushCharStk(VMCmd cmd)
1364{
1365 EMIT_COMMENT("PUSH char stack");
1366
1367 EMIT_OP_REG(o_pop, rEDX);
1368 EMIT_OP_REG_RPTR(o_movsx, rEAX, sBYTE, rEDX, cmd.argument);
1369 EMIT_OP_REG(o_push, rEAX);
1370 KILL_REG(rEBX);KILL_REG(rECX);KILL_REG(rEDX);
1371}
1372
1373void GenCodeCmdPushShortStk(VMCmd cmd)
1374{

Callers

nothing calls this directly

Calls 3

EMIT_COMMENTFunction · 0.85
EMIT_OP_REGFunction · 0.85
EMIT_OP_REG_RPTRFunction · 0.85

Tested by

no test coverage detected