summaryrefslogtreecommitdiff
path: root/src/arch/x86/operand.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2008-09-09 22:52:57 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2008-09-09 22:52:57 (GMT)
commit15387adcbd3e27fe581754c0ee56edc64272d58e (patch)
tree45c655c89c7da57fff822569c4bc3dc655032eb6 /src/arch/x86/operand.h
parentb77dcf34b9b2308978e1c6333b34cde9f0e27a8c (diff)
Supported the 'moffs' type of operand.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@28 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86/operand.h')
-rw-r--r--src/arch/x86/operand.h14
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 */