diff options
| author | Damien George | 2014-09-29 10:13:49 +0100 |
|---|---|---|
| committer | Damien George | 2014-09-29 19:42:06 +0100 |
| commit | d66e48662bd35192b97cc93ae68574ff7d91c8ae (patch) | |
| tree | 38d6c153d1c10e447f201f7f46c983160691f3b3 /py/asmx86.h | |
| parent | 851f15f34c03c87a0e479bd3de61b61846e0cb42 (diff) | |
py: Add store r8 and store r16 ops to asm_x86 and asm_x64.
Diffstat (limited to 'py/asmx86.h')
| -rw-r--r-- | py/asmx86.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/asmx86.h b/py/asmx86.h index 6099325c7..76df7bf2b 100644 --- a/py/asmx86.h +++ b/py/asmx86.h @@ -59,6 +59,7 @@ #define ASM_X86_CC_JNZ (0x5) #define ASM_X86_CC_JNE (0x5) #define ASM_X86_CC_JL (0xc) // less, signed +#define ASM_X86_CC_JG (0xf) // greater, signed typedef struct _asm_x86_t asm_x86_t; @@ -72,6 +73,9 @@ void* asm_x86_get_code(asm_x86_t* as); void asm_x86_mov_r32_to_r32(asm_x86_t* as, int src_r32, int dest_r32); void asm_x86_mov_i32_to_r32(asm_x86_t *as, int32_t src_i32, int dest_r32); void asm_x86_mov_i32_to_r32_aligned(asm_x86_t *as, int32_t src_i32, int dest_r32); +void asm_x86_mov_r8_to_disp(asm_x86_t *as, int src_r32, int dest_r32, int dest_disp); +void asm_x86_mov_r16_to_disp(asm_x86_t *as, int src_r32, int dest_r32, int dest_disp); +void asm_x86_mov_r32_to_disp(asm_x86_t *as, int src_r32, int dest_r32, int dest_disp); void asm_x86_xor_r32_to_r32(asm_x86_t *as, int src_r32, int dest_r32); void asm_x86_add_r32_to_r32(asm_x86_t* as, int src_r32, int dest_r32); void asm_x86_cmp_r32_with_r32(asm_x86_t* as, int src_r32_a, int src_r32_b); |
