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

Function x86XOR

NULLC/Translator_X86.cpp:965–970  ·  view source on GitHub ↗

xor op1, op2

Source from the content-addressed store, hash-verified

963
964// xor op1, op2
965int x86XOR(unsigned char *stream, x86Reg op1, x86Reg op2)
966{
967 stream[0] = 0x31;
968 stream[1] = encodeRegister(op1, regCode[op2]);
969 return 2;
970}
971// xor dword [index*mult+base+shift], op2
972int x86XOR(unsigned char *stream, x86Size size, x86Reg index, int multiplier, x86Reg base, int shift, x86Reg op2)
973{

Callers 1

TranslateToNativeMethod · 0.85

Calls 3

encodeRegisterFunction · 0.85
assertFunction · 0.85
encodeAddressFunction · 0.85

Tested by

no test coverage detected