2#define XBYAK_NO_OP_NAMES
3#define XBYAK_ENABLE_OMITTED_OPERAND
9 #pragma warning(disable : 4245)
10 #pragma warning(disable : 4312)
13 void operator=(
const Sample&);
19#define TEST(syntax) err = true; try { syntax; err = false; } catch (Xbyak::Error) { } catch (...) { } if (!err) printf("should be err:%s;\n", _STR(syntax))
38 printf(
"sizeof Operand %d\n", (
int)size);
43 }
catch (std::exception& e) {
44 printf(
"ERR:%s\n", e.what());
46 printf(
"unknown error\n");
50}
catch (std::exception& e) {
51 printf(
"err %s\n", e.what());
void setz(const Operand &op)
void test(const Operand &op, const Reg ®)
void adc(const Operand &op, uint32 imm)
void mov(const Operand ®1, const Operand ®2)
LOGGING_API void printf(Category category, const char *format,...)
Xbyak ; JIT assembler for x86(IA32)/x64 by C++.