Td 4 generation de code Université Djilali Bounaama Khemis Miliana Master Ingénierie du logiciel TD de compilation Travaux dirigés N Exercice Construire le DAG pour l'expression arithmétique suivante t a bc de-bc a bc bc de Générer à partir du DAG les qua
Université Djilali Bounaama Khemis Miliana Master Ingénierie du logiciel TD de compilation Travaux dirigés N Exercice Construire le DAG pour l'expression arithmétique suivante t a bc de-bc a bc bc de Générer à partir du DAG les quadruplets permettant d'évaluer l'expression précédente avec optimisation du nombre de temporaires Générer le code machine correspondant à ces quadruplets en appliquant l'algorithme vu en cours Trois registres R R et R sont disponibles On dispose des codes opérations suivants MOV ADD SUB DIV et MUL Exercice On considère le code intermédiaire suivant t b c t a t t d e t t ?? e t d e t t t t t ?? t Générer le code machine correspondant à ces quadruplets en appliquant l'algorithme vu en cours Deux registres R et R sont disponibles On dispose des codes opérations suivants MOV ADD SUB DIV et MUL Construire le DAG correspondant au code intermédiaire précédent Générer alors le code machine correspondant Comparer les codes machines obtenus commenter - - C
Documents similaires
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701726696b3suwhue4jacokkyydehtvdw0rllayfd40zgeu4rmjmvszsehctwrmxgzp721nzl7af5zcrubgoyfkpqngc3pqr550jleywhvys5.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/LihYm7ENInKAHqALY5JRoddFQHhbWnVsXPONGcqFa3j0d3vi5bC4T76F2kq2sAOLOsVvFMyS4UeI6aSkD6BjiGKX.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/4HLEP31nICfyA9UthCasS9dhPZgpMVEwt8HoC6qo4N9lbtaWyubJ60LlJMglotUrVKyYT00pd1YerXzF1xLnuZxr.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/Mjy8tBvuHSRO5q4NCipfFadyMOlJIx9R6OB8A1aLHv0Mn39eLxEtDiHtPCn6pdvXRb7nv4UwOVA5yQPBJFLFg44v.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/APaHZGgvcyck9vqLmEYFILFhNZ80T0wBuwRvdXxkwwgjoK6WpjzdpGWk6W2xBAhJ5RKOOS7pZYHwd7vDEThzGdfP.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701720575aoijynphtvsfuoewoyzlgumdqsrcrmye1em28lpor1xpdaysognm8azqlne3fjrzpp4nqqlh22tlqymjh8p0yimfytj969bsvlnb.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/7cYKO3keChED01zGcVGoaFky7btcqGP31WdXpJeC8zjj5hQLs2floJAT7Mju3hSIcYuXh8xFAJq4hBMuTutMDuXT.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/wmQFip8YDvj6vcdcvru8G7TEBhASpMIWStq5HN939P2VdP80YI5B0bWXhhgQ2hpa5AAUWYOfpvXQqggMdMfdr747.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701703224r5prpycqy9hx0emcrgka7djb2rxm7lr17pofupezue1oxclheih8iu65fcn0daup17mzeohhxgi1ki8trqgojbmfyqhvdyyck1jc.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/V10j4x8xP1EZPIGwlXqjXDs42NYJrtnUkAnvvfVcyQajAXXcdid5x31ORaFcQGxbAx0GZbd03szXJejivQ9r7y3i.png)
-
29
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise- Détails
- Publié le Dec 15, 2021
- Catégorie Law / Droit
- Langue French
- Taille du fichier 21.6kB