summaryrefslogtreecommitdiff
path: root/src/arch/instruction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/instruction.c')
-rw-r--r--src/arch/instruction.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c
index 0041129..9c0a47c 100644
--- a/src/arch/instruction.c
+++ b/src/arch/instruction.c
@@ -1089,6 +1089,30 @@ char *g_arch_instruction_build_tooltip(const GArchInstruction *instr)
}
+/******************************************************************************
+* *
+* Paramètres : instr = instruction d'assemblage à consulter. *
+* *
+* Description : Fournit une description pour l'instruction manipulée. *
+* *
+* Retour : Chaîne de caractères avec balises éventuelles. *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+const char *g_arch_instruction_get_description(const GArchInstruction *instr)
+{
+ const char *result; /* Description à retourner */
+
+ result = G_ARCH_INSTRUCTION_GET_CLASS(instr)->get_desc(instr);
+
+ return result;
+
+}
+
+
+
/* ---------------------------------------------------------------------------------- */
/* OFFRE DE CAPACITES DE GENERATION */
/* ---------------------------------------------------------------------------------- */