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

Function x86IDIV

NULLC/Translator_X86.cpp:812–817  ·  view source on GitHub ↗

idiv src

Source from the content-addressed store, hash-verified

810
811// idiv src
812int x86IDIV(unsigned char *stream, x86Reg src)
813{
814 stream[0] = 0xf7;
815 stream[1] = encodeRegister(src, 7);
816 return 2;
817}
818// idiv dword [index*mult+base+shift]
819int x86IDIV(unsigned char *stream, x86Size size, x86Reg index, int multiplier, x86Reg base, int shift)
820{

Callers 1

TranslateToNativeMethod · 0.85

Calls 3

encodeRegisterFunction · 0.85
assertFunction · 0.85
encodeAddressFunction · 0.85

Tested by

no test coverage detected