summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/simulator.c8
-rw-r--r--po/ProjetArchi.pot2
-rw-r--r--po/fr.po193
3 files changed, 102 insertions, 101 deletions
diff --git a/lib/simulator.c b/lib/simulator.c
index 8db38ef..1438143 100644
--- a/lib/simulator.c
+++ b/lib/simulator.c
@@ -272,17 +272,17 @@ void DecodeExec(Uint32 instruction)
if (Champ1(instruction) == Champ2(instruction)) {
test1 = 1;
} else {
- test1 = LireRegistre(Champ1(instruction)) == LireRegistre(Champ2(instruction));
+ test1 = ((int) LireRegistre(Champ1(instruction))) == ((int) LireRegistre(Champ2(instruction)));
}
break;
case 1:
- test1 = LireRegistre(Champ1(instruction)) != LireRegistre(Champ2(instruction));
+ test1 = ((int) LireRegistre(Champ1(instruction))) != ((int) LireRegistre(Champ2(instruction)));
break;
case 2:
- test1 = LireRegistre(Champ1(instruction)) < LireRegistre(Champ2(instruction));
+ test1 = ((int) LireRegistre(Champ1(instruction))) < ((int) LireRegistre(Champ2(instruction)));
break;
case 3:
- test1 = LireRegistre(Champ1(instruction)) <= LireRegistre(Champ2(instruction));
+ test1 = ((int) LireRegistre(Champ1(instruction))) <= ((int) LireRegistre(Champ2(instruction)));
break;
}
switch (champ(Extension(instruction) >> 2, 4)) {
diff --git a/po/ProjetArchi.pot b/po/ProjetArchi.pot
index e4fcb04..ef313c6 100644
--- a/po/ProjetArchi.pot
+++ b/po/ProjetArchi.pot
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2001-05-05 15:13+0200\n"
+"POT-Creation-Date: 2001-05-07 01:56+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
diff --git a/po/fr.po b/po/fr.po
index 3c86e59..ee1bbb0 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2001-04-17 11:23+0200\n"
+"POT-Creation-Date: 2001-05-07 01:56+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -23,241 +23,241 @@ msgstr ""
msgid "Label already defined"
msgstr "Label deja défini"
-#: lib/assembler.c:268
+#: lib/assembler.c:271
msgid "You can't have the startpoint elsewhere than the .text segment"
msgstr ""
"Vous ne pouvez avoir de point d'entrée ailleurs que dans le segment .text"
-#: lib/assembler.c:422
+#: lib/assembler.c:425
msgid "Not a valid . directive"
msgstr "Directive . non valide"
-#: lib/assembler.c:451
+#: lib/assembler.c:454
msgid "Not a valid # directive"
msgstr "Directive # non valide"
#. Cas des directives .
-#: lib/assembler.c:459
+#: lib/assembler.c:462
msgid "Error: extra parameters to a . directive."
msgstr "Erreur: paramètres en trop à une directive ."
-#: lib/assembler.c:576
+#: lib/assembler.c:579
msgid "Too much arguments to #undef"
msgstr "Trop de paramètres à #undef"
-#: lib/assembler.c:580
+#: lib/assembler.c:583
msgid "Defined symbol not found."
msgstr "Symbole défini non trouvé."
-#: lib/assembler.c:586
+#: lib/assembler.c:589
msgid "Too much arguments to #include"
msgstr "Trop de parametres apres #include"
-#: lib/assembler.c:588
+#: lib/assembler.c:591
#, c-format
msgid "Including file at line %i"
msgstr "Inclusion d'un fichier à la ligne %i"
-#: lib/assembler.c:591
+#: lib/assembler.c:594
msgid "Error reading include file"
msgstr "Erreur lors de l'inclusion d'un fichier"
-#: lib/assembler.c:629 lib/assembler.c:635
+#: lib/assembler.c:632 lib/assembler.c:638
msgid "Zero divide."
msgstr "Division par zero."
-#: lib/assembler.c:649 lib/assembler.c:656
+#: lib/assembler.c:652 lib/assembler.c:659
msgid "Error: unable to compute the immediate value"
msgstr "Erreur: impossible de calculer la valeur immédiate"
-#: lib/assembler.c:665
+#: lib/assembler.c:668
msgid "Function unknow"
msgstr "Fonction inconnue"
-#: lib/assembler.c:673
+#: lib/assembler.c:676
msgid "Addresses addition not allowed"
msgstr "Addition d'adresses non permise"
-#: lib/assembler.c:677
+#: lib/assembler.c:680
msgid "You can only use the decal operator on labels"
msgstr "Vous ne pouvez utiliser l'operateur de décalage que sur les labels"
-#: lib/assembler.c:683 lib/assembler.c:687 lib/assembler.c:719
+#: lib/assembler.c:686 lib/assembler.c:690 lib/assembler.c:722
msgid "Address operation invalid"
msgstr "Operation invalide sur une adresse"
-#: lib/assembler.c:690 lib/assembler.c:723
+#: lib/assembler.c:693 lib/assembler.c:726
msgid "Addresses operations not allowed"
msgstr "Operations non permises sur des adresses"
-#: lib/assembler.c:693 lib/assembler.c:816 lib/assembler.c:853
-#: lib/assembler.c:925
+#: lib/assembler.c:696 lib/assembler.c:819 lib/assembler.c:856
+#: lib/assembler.c:928
msgid "Expression too complex or invalid"
msgstr "Expression trop complexe ou invalide"
-#: lib/assembler.c:727 lib/assembler.c:740 lib/assembler.c:793
-#: lib/assembler.c:805 lib/assembler.c:842
+#: lib/assembler.c:730 lib/assembler.c:743 lib/assembler.c:796
+#: lib/assembler.c:808 lib/assembler.c:845
msgid "Address type not supported"
msgstr "Type d'adresse non supportée"
-#: lib/assembler.c:809
+#: lib/assembler.c:812
msgid "Address addition not supported"
msgstr "Addition d'adresse non supportée"
-#: lib/assembler.c:846 lib/assembler.c:898
+#: lib/assembler.c:849 lib/assembler.c:901
msgid "Expression invalid"
msgstr "Expression invalide"
#. Bon si l'on est ici, c'est pas bon signe non plus...
-#: lib/assembler.c:969
+#: lib/assembler.c:972
msgid "Expression too complex"
msgstr "Expression trop complexe"
-#: lib/assembler.c:1035
+#: lib/assembler.c:1038
msgid "Something wrong, nested operator called..."
msgstr "Pas bon... Appel à l'operateur imbriquation"
-#: lib/assembler.c:1106
+#: lib/assembler.c:1109
msgid "Something wrong, lparenthesis operator called..."
msgstr "Pas bon... Appel l'opérateur de parenthèse gauche..."
-#: lib/assembler.c:1109
+#: lib/assembler.c:1112
msgid "Something wrong, should never got here..."
msgstr "Pas bon... On ne devrait pas arriver ici..."
-#: lib/assembler.c:1293
+#: lib/assembler.c:1296
msgid "Unknow predefined string into the meta language"
msgstr "Chaîne de caractère prédéfinie inconnue dans le màta langage"
-#: lib/assembler.c:1352
+#: lib/assembler.c:1355
msgid "Pattern not matching..."
msgstr "La pattern ne correspond pas..."
-#: lib/assembler.c:1360 lib/assembler.c:1393 lib/assembler.c:1647
-#: lib/assembler.c:1662 lib/assembler.c:1681
+#: lib/assembler.c:1363 lib/assembler.c:1396 lib/assembler.c:1650
+#: lib/assembler.c:1665 lib/assembler.c:1684
msgid "Unknow constant type in the meta language"
msgstr "Type de constante inconnu dans le méta langage"
-#: lib/assembler.c:1372 lib/assembler.c:1417 lib/assembler.c:1446
+#: lib/assembler.c:1375 lib/assembler.c:1420 lib/assembler.c:1449
msgid ""
"Error in the metalanguage (pattern should be here if not a constant type)"
msgstr ""
"Erreur dans le métalangage (une expression devrait être ici s'il n'y a pas "
"de type constant)"
-#: lib/assembler.c:1405 lib/assembler.c:1432 lib/assembler.c:1440
-#: lib/assembler.c:1715
+#: lib/assembler.c:1408 lib/assembler.c:1435 lib/assembler.c:1443
+#: lib/assembler.c:1718
msgid "Logical error in meta language"
msgstr "Erreur de logique dans le métalangage"
-#: lib/assembler.c:1477
+#: lib/assembler.c:1480
msgid "Unknow field in metalanguage"
msgstr "Champ inconnu dans le métalangage"
-#: lib/assembler.c:1487
+#: lib/assembler.c:1490
msgid "Can't evaluate directly expression"
msgstr "Impossible d'évaluer directement l'expression"
-#: lib/assembler.c:1493
+#: lib/assembler.c:1496
msgid "Value too large for field"
msgstr "Valeur trop importante pour ce champ"
-#: lib/assembler.c:1545 lib/assembler.c:1746
+#: lib/assembler.c:1548 lib/assembler.c:1749
msgid "Unknow instruction"
msgstr "Instruction inconnue"
-#: lib/assembler.c:1570
+#: lib/assembler.c:1573
msgid "Unknow constant"
msgstr "Constante inconnue"
-#: lib/assembler.c:1579
+#: lib/assembler.c:1582
msgid "Bad constant for an immediate value"
msgstr "Mauvaise constante pour une valeur immediate"
-#: lib/assembler.c:1596
+#: lib/assembler.c:1599
msgid "Bad constant for a string"
msgstr "Mauvaise constante pour une chaîne de caractères"
-#: lib/assembler.c:1613
+#: lib/assembler.c:1616
msgid "Bad array size"
msgstr "Mauvaise taille de tableau"
-#: lib/assembler.c:1623
+#: lib/assembler.c:1626
msgid "You can only have an instruction into a .text segment"
msgstr "Vous ne pouvez avoir une instruction que dans un segment .text"
-#: lib/assembler.c:1626
+#: lib/assembler.c:1629
msgid "Unmatched instruction"
msgstr "Instruction non trouvée"
-#: lib/assembler.c:1771 lib/assembler.c:1813 lib/linker.c:45 lib/linker.c:67
+#: lib/assembler.c:1774 lib/assembler.c:1816 lib/linker.c:45 lib/linker.c:67
msgid "Error writing file"
msgstr "Erreur en écrivant le fichier"
-#: lib/assembler.c:1822 lib/assembler.c:2217 lib/linker.c:56
+#: lib/assembler.c:1825 lib/assembler.c:2220 lib/linker.c:56
#: lib/simulator.c:40
msgid "Error reading file"
msgstr "Erreur en lisant le fichier"
-#: lib/assembler.c:1839
+#: lib/assembler.c:1842
msgid "Creating temporary files"
msgstr "Création des fichiers temporaires"
-#: lib/assembler.c:1842
+#: lib/assembler.c:1845
msgid "Error writing file __text__"
msgstr "Erreur en écrivant le fichier __text__"
-#: lib/assembler.c:1846
+#: lib/assembler.c:1849
msgid "Error writing file __symbols__"
msgstr "Erreur en écrivant le fichier __symbols__"
-#: lib/assembler.c:1850
+#: lib/assembler.c:1853
msgid "Dumping memory into object file"
msgstr "Vidage de la mémoire dans un fichier objet"
#. Segment de texte
-#: lib/assembler.c:1855
+#: lib/assembler.c:1858
msgid "Dumping text segment"
msgstr "Vidage du segment text"
-#: lib/assembler.c:1859 lib/assembler.c:2003 lib/assembler.c:2092
+#: lib/assembler.c:1862 lib/assembler.c:2006 lib/assembler.c:2095
#, c-format
msgid "Processing word number %i coming from line %i of the file %s."
msgstr "Traitement du mot numéro %i de la ligne %i du fichier %s."
-#: lib/assembler.c:1941 lib/assembler.c:1944 lib/assembler.c:2031
-#: lib/assembler.c:2034
+#: lib/assembler.c:1944 lib/assembler.c:1947 lib/assembler.c:2034
+#: lib/assembler.c:2037
msgid "Can't evaluate expression for a direct value"
msgstr "Impossible d'évaluer l'expression pour une valeur directe"
-#: lib/assembler.c:1948 lib/assembler.c:2038
+#: lib/assembler.c:1951 lib/assembler.c:2041
msgid "Can only use the diff() function onto labels"
msgstr "Seule la fonction diff() peut être utilisée sur des labels"
-#: lib/assembler.c:1953 lib/assembler.c:1958 lib/assembler.c:2043
-#: lib/assembler.c:2048
+#: lib/assembler.c:1956 lib/assembler.c:1961 lib/assembler.c:2046
+#: lib/assembler.c:2051
msgid "Can only evaluate a diff on local symbols"
msgstr "Ne peut évaluer un diff que sur des symboles locaux"
-#: lib/assembler.c:1962 lib/assembler.c:2052
+#: lib/assembler.c:1965 lib/assembler.c:2055
msgid "Can only evaluate a diff on symbols from the same segment"
msgstr "Ne peut évaluer un diff peut que sur des symboles d'un même segment"
-#: lib/assembler.c:1968 lib/assembler.c:2058
+#: lib/assembler.c:1971 lib/assembler.c:2061
msgid "Can't evaluate expression"
msgstr "L'expression ne peut etre évaluee"
#. Segment de data
-#: lib/assembler.c:1999
+#: lib/assembler.c:2002
msgid "Dumping data segment"
msgstr "Vidage du segment data"
#. Segment bss
-#: lib/assembler.c:2088
+#: lib/assembler.c:2091
msgid "Dumping bss segment"
msgstr "Vidage du segment BSS"
-#: lib/assembler.c:2139
+#: lib/assembler.c:2142
#, c-format
msgid ""
"Statistics: %i words of text, %i words of data, and %i words reserved.\n"
@@ -266,47 +266,47 @@ msgstr ""
"Statistiques: %i mots de texte, %i mots de données, et %i mots réservés.\n"
"%i symboles generes dont %i internes et %i externes.\n"
-#: lib/assembler.c:2168
+#: lib/assembler.c:2171
msgid "Loading file"
msgstr "Chargement du fichier"
-#: lib/assembler.c:2169 lib/meta.c:540
+#: lib/assembler.c:2172 lib/meta.c:540
#, c-format
msgid "Opening file '%s'"
msgstr "Ouverture du fichier '%s'"
-#: lib/assembler.c:2178 lib/meta.c:548
+#: lib/assembler.c:2181 lib/meta.c:548
msgid "Reading file"
msgstr "Lecture du fichier"
-#: lib/assembler.c:2180 lib/meta.c:550
+#: lib/assembler.c:2183 lib/meta.c:550
#, c-format
msgid "Reading line %i"
msgstr "Lecture de la ligne %i"
-#: lib/assembler.c:2189
+#: lib/assembler.c:2192
#, c-format
msgid "Summering line %s"
msgstr "Résumé de la ligne %s"
-#: lib/assembler.c:2208
+#: lib/assembler.c:2211
#, c-format
msgid "Assembling file %s...\n"
msgstr "Assemblage du fichier %s...\n"
-#: lib/assembler.c:2209
+#: lib/assembler.c:2212
msgid "Opening output file"
msgstr "Ouverture du fichier de sortie"
-#: lib/assembler.c:2212
+#: lib/assembler.c:2215
msgid "Error writing output file"
msgstr "Erreur lors de l'ecriture du fichier de sortie"
-#: lib/assembler.c:2219 lib/linker.c:284
+#: lib/assembler.c:2222 lib/linker.c:288
msgid "Writing output file"
msgstr "Ecriture du fichier de sortie"
-#: lib/assembler.c:2220
+#: lib/assembler.c:2223
#, c-format
msgid "Generating output file %s...\n"
msgstr "Génération du fichier de sortie %s...\n"
@@ -455,7 +455,7 @@ msgstr "InverseIbit: position non comprise dans l'intervalle"
msgid "FPU not implemented"
msgstr "FPU non programmé"
-#: lib/memoire.c:57 lib/memoire.c:131
+#: lib/memoire.c:61 lib/memoire.c:135
msgid "Invalid Memory Adress"
msgstr "Adresse memoire invalide"
@@ -481,51 +481,51 @@ msgstr "Mauvaise signature"
msgid "Startpoint already defined."
msgstr "Point d'entrée déjà défini"
-#: lib/linker.c:149
+#: lib/linker.c:153
msgid "Reading symbols"
msgstr "Lecture des symboles"
-#: lib/linker.c:165
+#: lib/linker.c:169
msgid "Reading text and data segments"
msgstr "Lecture des segments TEXT et DATA"
-#: lib/linker.c:219
+#: lib/linker.c:223
#, c-format
msgid "Symbol %s not found"
msgstr "Symbole %s non trouvé"
-#: lib/linker.c:235 lib/linker.c:258 lib/linker.c:270
+#: lib/linker.c:239 lib/linker.c:262 lib/linker.c:274
msgid "Internal error"
msgstr "Erreur interne"
-#: lib/linker.c:288
+#: lib/linker.c:292
msgid "No startpoint defined."
msgstr "Pas de point d'entrée defini."
-#: lib/linker.c:291
+#: lib/linker.c:295
msgid "Writing headers"
msgstr "Ecriture des entêtes"
-#: lib/linker.c:300
+#: lib/linker.c:304
msgid "Writing relocating informations"
msgstr "Ecriture des informations de relogement"
-#: lib/linker.c:303
+#: lib/linker.c:307
msgid "Writing text segments"
msgstr "Ecriture des segments text"
-#: lib/linker.c:308
+#: lib/linker.c:312
msgid "Writing data segments"
msgstr "Ecriture des segments data"
-#: lib/linker.c:317
+#: lib/linker.c:321
#, c-format
msgid "Statistics: %i words of text, %i words of data and reserving %i words\n"
msgstr ""
"Statistiques: %i mots de texte, %i mots de données and réservation de %i "
"mots\n"
-#: lib/linker.c:321
+#: lib/linker.c:325
#, c-format
msgid "Output file size: %i words containing %i relocating offsets.\n"
msgstr ""
@@ -540,45 +540,46 @@ msgid "Adresse: Unmatched Addr Field"
msgstr "Adresse: Le champ Addr ne correspond pas"
#. arg2 = imm32
-#: lib/simulator.c:255
+#: lib/simulator.c:257
msgid "MOV: Memory to Memory Forbidden On This Type Of Processor"
msgstr ""
"MOV: Déplacement de mémoire à mémoire interdit sur ce type de processeur"
-#: lib/simulator.c:388
+#: lib/simulator.c:390
msgid "DecodeExec: Invalid Opcode"
msgstr "DecodeExec: Opcode invalide"
-#: lib/simulator.c:444
+#: lib/simulator.c:452
msgid "Shutdown requested"
msgstr ""
-#: lib/simulator.c:446
+#: lib/simulator.c:454
msgid ""
"Help:\n"
"G: go\n"
"P: Proceed\n"
"R: display registers\n"
+"T: trace\n"
"Q: quit\n"
msgstr ""
-#: lib/simulator.c:479
+#: lib/simulator.c:491
#, fuzzy, c-format
msgid "Opening file %s"
msgstr "Ouverture du fichier '%s'"
#. verification de la signature
-#: lib/simulator.c:483
+#: lib/simulator.c:495
#, fuzzy
msgid "Invalid Signature"
msgstr "Mauvaise signature"
-#: lib/simulator.c:487
+#: lib/simulator.c:499
#, fuzzy, c-format
msgid "Loading file %s"
msgstr "Chargement du fichier"
-#: lib/simulator.c:521
+#: lib/simulator.c:533
#, fuzzy, c-format
msgid "Executing file %s"
msgstr "Ouverture du fichier '%s'"
@@ -639,7 +640,7 @@ msgstr " Fait!\n"
msgid "Signal received: segfault"
msgstr "Signal reçu: SEGFAULT"
-#: src/compilo.c:69 src/linker.c:51 src/simul.c:97
+#: src/compilo.c:69 src/linker.c:51 src/simul.c:98
msgid ""
"\n"
"Performing initialisation...\n"
@@ -649,7 +650,7 @@ msgstr ""
"Initialisation en cours...\n"
"\n"
-#: src/compilo.c:74 src/linker.c:63 src/simul.c:110
+#: src/compilo.c:74 src/linker.c:63 src/simul.c:111
msgid ""
"\n"
"Performing shutdown...\n"
@@ -659,7 +660,7 @@ msgstr ""
"Exctinction en cours...\n"
"\n"
-#: src/compilo.c:79 src/linker.c:68 src/simul.c:116
+#: src/compilo.c:79 src/linker.c:68 src/simul.c:117
msgid "Exitting, bye!\n"
msgstr "Fin de programme, Ciao!\n"
@@ -682,7 +683,7 @@ msgstr "Utilisation: linker obj1 [obj2 [obj3 [...]]] binaire\n"
msgid " o Initialising the simulator... "
msgstr "o Initialisation de l'editeur de liens... "
-#: src/simul.c:100
+#: src/simul.c:101
msgid "Beginning simulation"
msgstr ""