diff options
Diffstat (limited to 'src/arch/instruction.c')
-rw-r--r-- | src/arch/instruction.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c index 1fe83b5..88033c9 100644 --- a/src/arch/instruction.c +++ b/src/arch/instruction.c @@ -1031,8 +1031,7 @@ GArchInstruction *g_arch_instruction_get_given_destination(GArchInstruction *ins /****************************************************************************** * * -* Paramètres : instr = instruction d'assemblage à consulter. * -* syntax = type de représentation demandée. * +* Paramètres : instr = instruction d'assemblage à consulter. * * * * Description : Fournit le nom humain de l'instruction manipulée. * * * @@ -1042,11 +1041,11 @@ GArchInstruction *g_arch_instruction_get_given_destination(GArchInstruction *ins * * ******************************************************************************/ -const char *g_arch_instruction_get_keyword(GArchInstruction *instr, AsmSyntax syntax) +const char *g_arch_instruction_get_keyword(GArchInstruction *instr) { const char *result; /* Désignation à retourner */ - result = G_ARCH_INSTRUCTION_GET_CLASS(instr)->get_keyword(instr, syntax); + result = G_ARCH_INSTRUCTION_GET_CLASS(instr)->get_keyword(instr); return result; @@ -1529,10 +1528,9 @@ static BufferLineFlags g_arch_instruction_get_flags2(const GArchInstruction *ins /****************************************************************************** * * * Paramètres : instr = instruction d'assemblage à représenter. * -* buffer = espace où placer ledit contenu. * -* msize = taille idéale des positions et adresses; * -* content = contenu binaire global à venir lire. * -* syntax = type de représentation demandée. * +* line = ligne de rendu à compléter. * +* index = indice de cette même ligne dans le tampon global. * +* repeat = indice d'utilisations successives du générateur. * * content = éventuel contenu binaire brut à imprimer. * * * * Description : Ajoute à un tampon GLib le contenu de l'instance spécifiée. * @@ -1557,7 +1555,7 @@ static void _g_arch_instruction_print(GArchInstruction *instr, GBufferLine *line /* Instruction proprement dite */ - key = g_arch_instruction_get_keyword(instr, 0/*, syntax*/); + key = g_arch_instruction_get_keyword(instr); klen = strlen(key); g_buffer_line_append_text(line, BLC_ASSEMBLY_HEAD, key, klen, RTT_INSTRUCTION, G_OBJECT(instr)); @@ -1571,7 +1569,7 @@ static void _g_arch_instruction_print(GArchInstruction *instr, GBufferLine *line if (count > 0) { op = _g_arch_instruction_get_operand(instr, 0); - g_arch_operand_print(op, line, 0/*syntax*/); + g_arch_operand_print(op, line); g_object_unref(G_OBJECT(op)); for (i = 1; i < count; i++) @@ -1581,7 +1579,7 @@ static void _g_arch_instruction_print(GArchInstruction *instr, GBufferLine *line op = _g_arch_instruction_get_operand(instr, i); - g_arch_operand_print(op, line, 0/*syntax*/); + g_arch_operand_print(op, line); g_object_unref(G_OBJECT(op)); |