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

Function x86AND

NULLC/Translator_X86.cpp:889–894  ·  view source on GitHub ↗

and op1, op2

Source from the content-addressed store, hash-verified

887
888// and op1, op2
889int x86AND(unsigned char *stream, x86Reg op1, x86Reg op2)
890{
891 stream[0] = 0x21;
892 stream[1] = encodeRegister(op1, regCode[op2]);
893 return 2;
894}
895// and dword [index*mult+base+shift], op2
896int x86AND(unsigned char *stream, x86Size size, x86Reg index, int multiplier, x86Reg base, int shift, x86Reg op2)
897{

Callers 1

TranslateToNativeMethod · 0.85

Calls 3

encodeRegisterFunction · 0.85
assertFunction · 0.85
encodeAddressFunction · 0.85

Tested by

no test coverage detected