summaryrefslogtreecommitdiff
path: root/src/arch/x86/op_pop.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-04-05 19:07:25 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-04-05 19:07:25 (GMT)
commitb6fd6dc823615aaee8661e8e2365181c1ea1775f (patch)
tree57ee33afad87be2b4ca34ba74a288d82a2bd5b3d /src/arch/x86/op_pop.c
parent7cbdd17b441b35d48624956aa438bde69f18bc37 (diff)
Supported some extra opcodes : popa and arpl.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@147 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86/op_pop.c')
-rw-r--r--src/arch/x86/op_pop.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/arch/x86/op_pop.c b/src/arch/x86/op_pop.c
index c362898..04b49e6 100644
--- a/src/arch/x86/op_pop.c
+++ b/src/arch/x86/op_pop.c
@@ -67,3 +67,31 @@ GArchInstruction *x86_read_instr_pop_r1632(const bin_t *data, off_t *pos, off_t
return result;
}
+
+
+/******************************************************************************
+* *
+* Paramètres : data = flux de données à analyser. *
+* pos = position courante dans ce flux. [OUT] *
+* len = taille totale des données à analyser. *
+* addr = adresse virtuelle de l'instruction. *
+* prefix = éventuel(s) préfixe(s) remarqué(s). *
+* proc = architecture ciblée par le désassemblage. *
+* *
+* Description : Décode une instruction de type 'popa'. *
+* *
+* Retour : Instruction mise en place ou NULL. *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+GArchInstruction *x86_read_instr_popa(const bin_t *data, off_t *pos, off_t len, vmpa_t addr, X86Prefix prefix, const GX86Processor *proc)
+{
+ GArchInstruction *result; /* Instruction à retourner */
+
+ result = g_x86_instruction_new(XOP_POPA);
+
+ return result;
+
+}