MCPcopy Create free account
hub / github.com/beefytech/Beef / EmitModRM

Method EmitModRM

IDEHelper/Backend/BeMCContext.cpp:6280–6283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6278}
6279
6280void BeMCContext::EmitModRM(int mod, int reg, int rm)
6281{
6282 mOut.Write((uint8)((mod << 6) | (reg << 3) | rm));
6283}
6284
6285void BeMCContext::EmitModRMRel(int rx, X64CPURegister regA, X64CPURegister regB, int bScale, int relOffset)
6286{

Callers

nothing calls this directly

Calls 9

IsImmediateFloatMethod · 0.80
IsVRegAnyMethod · 0.80
IsImmediateIntMethod · 0.80
IsVRegMethod · 0.80
IsDirectRelToAnyMethod · 0.80
WriteMethod · 0.45
GetPosMethod · 0.45
push_backMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected