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

Function x86OR

NULLC/Translator_X86.cpp:922–927  ·  view source on GitHub ↗

or op1, op2

Source from the content-addressed store, hash-verified

920
921// or op1, op2
922int x86OR(unsigned char *stream, x86Reg op1, x86Reg op2)
923{
924 stream[0] = 0x09;
925 stream[1] = encodeRegister(op1, regCode[op2]);
926 return 2;
927}
928// or dword [index*mult+base+shift], op2
929int x86OR(unsigned char *stream, x86Size size, x86Reg index, int multiplier, x86Reg base, int shift, x86Reg op2)
930{

Callers 1

TranslateToNativeMethod · 0.85

Calls 3

encodeRegisterFunction · 0.85
assertFunction · 0.85
encodeAddressFunction · 0.85

Tested by

no test coverage detected