diff options
Diffstat (limited to 'src/arch/x86/operand.h')
-rw-r--r-- | src/arch/x86/operand.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/arch/x86/operand.h b/src/arch/x86/operand.h index c330b8e..42e0f56 100644 --- a/src/arch/x86/operand.h +++ b/src/arch/x86/operand.h @@ -72,4 +72,18 @@ void x86_print_reg_operand(const asm_x86_operand *, char *, size_t, AsmSyntax); +/* ------------------------ OPERANDES D'EMPLACEMENTS MEMOIRE ------------------------ */ + + +/* Crée une opérande à partir d'un emplacement mémoire 8 bits. */ +asm_x86_operand *x86_create_moffs8_operand(const uint8_t *, off_t *, off_t); + +/* Crée une opérande à partir d'un emplacement mémoire 16/32b. */ +asm_x86_operand *x86_create_moffs1632_operand(const uint8_t *, off_t *, off_t, bool); + +/* Traduit une opérande d'emplacement mémoire en texte. */ +void x86_print_moffs_operand(const asm_x86_operand *, char *, size_t, AsmSyntax); + + + #endif /* _ARCH_X86_OPERAND_H */ |