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

Function GenCodeCmdPushChar

NULLC/CodeGen_X86.cpp:1272–1281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1270}
1271
1272void GenCodeCmdPushChar(VMCmd cmd)
1273{
1274 EMIT_COMMENT("PUSH char");
1275
1276 if(cmd.flag == ADDRESS_ABOLUTE)
1277 EMIT_OP_REG_ADDR(o_movsx, rEAX, sBYTE, cmd.argument+paramBase);
1278 else
1279 EMIT_OP_REG_RPTR(o_movsx, rEAX, sBYTE, rEBP, cmd.argument+paramBase);
1280 EMIT_OP_REG(o_push, rEAX);
1281}
1282
1283void GenCodeCmdPushShort(VMCmd cmd)
1284{

Callers

nothing calls this directly

Calls 4

EMIT_COMMENTFunction · 0.85
EMIT_OP_REG_ADDRFunction · 0.85
EMIT_OP_REG_RPTRFunction · 0.85
EMIT_OP_REGFunction · 0.85

Tested by

no test coverage detected