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

Function x86SETcc

NULLC/Translator_X86.cpp:1098–1104  ·  view source on GitHub ↗

setcc *l

Source from the content-addressed store, hash-verified

1096
1097// setcc *l
1098int x86SETcc(unsigned char *stream, x86Cond cond, x86Reg reg)
1099{
1100 stream[0] = 0x0f;
1101 stream[1] = 0x90 + condCode[cond];
1102 stream[2] = encodeRegister(reg, 0);
1103 return 3;
1104}
1105
1106// call reg
1107int x86CALL(unsigned char *stream, x86Reg address)

Callers 1

TranslateToNativeMethod · 0.85

Calls 1

encodeRegisterFunction · 0.85

Tested by

no test coverage detected