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

Function GenCodeCmdMovShort

NULLC/CodeGen_X86.cpp:1464–1474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1462}
1463
1464void GenCodeCmdMovShort(VMCmd cmd)
1465{
1466 EMIT_COMMENT("MOV short");
1467
1468 EMIT_OP_REG_RPTR(o_mov, rEBX, sDWORD, rESP, 0);
1469 if(cmd.flag == ADDRESS_ABOLUTE)
1470 EMIT_OP_ADDR_REG(o_mov, sWORD, cmd.argument+paramBase, rEBX);
1471 else
1472 EMIT_OP_RPTR_REG(o_mov, sWORD, rEBP, cmd.argument+paramBase, rEBX);
1473 KILL_REG(rEBX);
1474}
1475
1476void GenCodeCmdMovInt(VMCmd cmd)
1477{

Callers

nothing calls this directly

Calls 4

EMIT_COMMENTFunction · 0.85
EMIT_OP_REG_RPTRFunction · 0.85
EMIT_OP_ADDR_REGFunction · 0.85
EMIT_OP_RPTR_REGFunction · 0.85

Tested by

no test coverage detected