diff options
| author | Damien George | 2014-09-06 23:06:36 +0100 |
|---|---|---|
| committer | Damien George | 2014-09-06 23:06:36 +0100 |
| commit | c90f59ec3a4c77848f36c710ed4ab8d55a944a0c (patch) | |
| tree | afa66e5e0feb34232212f676c1a85ee9b132ddbc /py/asmx64.h | |
| parent | 33b50a02176bcf4f7114498f9925003808d6e53f (diff) | |
py: Add support for emitting native x86 machine code.
Diffstat (limited to 'py/asmx64.h')
| -rw-r--r-- | py/asmx64.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/py/asmx64.h b/py/asmx64.h index 1d5d6c7c2..11c0fb516 100644 --- a/py/asmx64.h +++ b/py/asmx64.h @@ -37,12 +37,12 @@ #define REG_RDI (7) // condition codes, used for jcc and setcc (despite their j-name!) -#define JCC_JB (0x2) // below, unsigned -#define JCC_JZ (0x4) -#define JCC_JE (0x4) -#define JCC_JNZ (0x5) -#define JCC_JNE (0x5) -#define JCC_JL (0xc) // less, signed +#define ASM_X64_CC_JB (0x2) // below, unsigned +#define ASM_X64_CC_JZ (0x4) +#define ASM_X64_CC_JE (0x4) +#define ASM_X64_CC_JNZ (0x5) +#define ASM_X64_CC_JNE (0x5) +#define ASM_X64_CC_JL (0xc) // less, signed #define REG_RET REG_RAX #define REG_ARG_1 REG_RDI |
