Back to the 2022 paper

Module 4 : Intermediate Code Generation & Code Improvement

20227m

Find the three-address codes of the following program. There are four bytes per word:

Sum = 0;
for (i = 1; i<=20; i++)
Sum = Sum + a[i] + b[i];

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.