diff options
| author | Damien George | 2020-06-26 18:26:01 +1000 |
|---|---|---|
| committer | Damien George | 2020-06-27 00:24:04 +1000 |
| commit | b3b8706d27cffbfc4cdd447b204ae7083283d13c (patch) | |
| tree | d267a49a4e3d87ae6a0565b6404aa3bb9285ff5b /py/asmx64.h | |
| parent | aa26fe62d8728c95d447475ced9b4a03380025ea (diff) | |
py/asm: Add condition codes for signed comparisons.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/asmx64.h')
| -rw-r--r-- | py/asmx64.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/py/asmx64.h b/py/asmx64.h index e73e3c5c5..1a4987f5c 100644 --- a/py/asmx64.h +++ b/py/asmx64.h @@ -61,10 +61,13 @@ // condition codes, used for jcc and setcc (despite their j-name!) #define ASM_X64_CC_JB (0x2) // below, unsigned +#define ASM_X64_CC_JAE (0x3) // above or equal, 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_JBE (0x6) // below or equal, unsigned +#define ASM_X64_CC_JA (0x7) // above, unsigned #define ASM_X64_CC_JL (0xc) // less, signed #define ASM_X64_CC_JGE (0xd) // greater or equal, signed #define ASM_X64_CC_JLE (0xe) // less or equal, signed |
