Ajout eval final avec mips

This commit is contained in:
2016-04-01 11:43:25 +02:00
parent 4220e42d15
commit 0648a4006f
80 changed files with 11043 additions and 0 deletions

12
eval-fourni/input/eval3.l Normal file
View File

@@ -0,0 +1,12 @@
entier $i, entier $j, entier $k, entier $somme;
main() {
$somme = 0;
pour $i = 0; $i < 10; $i = $i + 1; faire {
pour $j = 0; $j < $i; $j = $j + 1; faire {
pour $k = 0; $k < $j; $k = $k + 1; faire {
$somme = $somme + $i + $j + $k;
}
}
}
ecrire ( $somme );
}