summaryrefslogtreecommitdiff
path: root/src/arch/undefined.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-19 20:00:40 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-19 20:00:40 (GMT)
commit12abead3f60d6f72c0d41672af87215dfc13c8fc (patch)
tree3fda90b6e1b439644a39730ae8935c74da1f2d44 /src/arch/undefined.c
parent79ae70be75b534c18fbfce38294f5ba7feef0e11 (diff)
Deleted all references to any asm syntax.
Diffstat (limited to 'src/arch/undefined.c')
-rw-r--r--src/arch/undefined.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/arch/undefined.c b/src/arch/undefined.c
index 5542ac2..680e4f4 100644
--- a/src/arch/undefined.c
+++ b/src/arch/undefined.c
@@ -67,7 +67,7 @@ static void g_undef_instruction_finalize(GUndefInstruction *);
static const char *g_undef_instruction_get_encoding(const GUndefInstruction *);
/* Fournit le nom humain de l'instruction manipulée. */
-static const char *g_undef_instruction_get_keyword(const GUndefInstruction *, AsmSyntax);
+static const char *g_undef_instruction_get_keyword(const GUndefInstruction *);
@@ -240,8 +240,7 @@ static const char *g_undef_instruction_get_encoding(const GUndefInstruction *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. *
* *
@@ -251,7 +250,7 @@ static const char *g_undef_instruction_get_encoding(const GUndefInstruction *ins
* *
******************************************************************************/
-const char *g_undef_instruction_get_keyword(const GUndefInstruction *instr, AsmSyntax syntax)
+const char *g_undef_instruction_get_keyword(const GUndefInstruction *instr)
{
const char *result; /* Désignation à retourner */
@@ -359,10 +358,9 @@ static bool g_undef_instruction_serialize(GUndefInstruction *instr, GAsmStorage
/******************************************************************************
* *
* 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. *
@@ -387,7 +385,7 @@ static void g_undef_instruction_print(GUndefInstruction *instr, GBufferLine *lin
/* Instruction proprement dite */
- key = g_arch_instruction_get_keyword(base, 0/*, syntax*/);
+ key = g_arch_instruction_get_keyword(base);
klen = strlen(key);
g_buffer_line_append_text(line, BLC_ASSEMBLY_HEAD, key, klen, RTT_ERROR, NULL);