diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-06-16 22:46:35 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-06-16 22:46:35 (GMT) |
commit | 23c7cd436e2ec980a68e6d12a6d8a750e357763c (patch) | |
tree | 0c27434a3ab3946e9b4766ae8ebe28ab399d9d84 /src/arch/x86/operand.c | |
parent | df1f4c4e1a5bb929f4345b1273d16558c0ba77de (diff) |
Made links between lines of code (x86 only).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@79 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86/operand.c')
-rw-r--r-- | src/arch/x86/operand.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/arch/x86/operand.c b/src/arch/x86/operand.c index 5e01fd7..8f218fc 100644 --- a/src/arch/x86/operand.c +++ b/src/arch/x86/operand.c @@ -30,7 +30,6 @@ #include "registers.h" -#include "../immediate.h" #include "../operand.h" #include "../operand-int.h" #include "../../common/extstr.h" @@ -787,6 +786,25 @@ static char *g_x86_relative_operand_get_text(const GX86RelativeOperand *operand, } +/****************************************************************************** +* * +* Paramètres : operand = opérande à traiter. * +* * +* Description : Fournit l'adresse relative représentée par une opérande X86. * +* * +* Retour : Valeur portée par l'opérande. * +* * +* Remarques : - * +* * +******************************************************************************/ + +const GImmOperand *g_x86_relative_operand_get_value(const GX86RelativeOperand *operand) +{ + return operand->immediate; + +} + + /* ---------------------------------------------------------------------------------- */ /* OPERANDES D'EMPLACEMENTS MEMOIRE */ |