in Compiler Design edited by
387 views
0 votes
0 votes
Consider the statement

do {

i = i + 1;

}

while ( a[i] < b );

The minimum number of variables required in the three address code of the above statement ?
in Compiler Design edited by
387 views

1 comment

4 ?

hemanth: i=i+1

                t1= &a

                t2= sizeof(int)// assuming int array

                t3=t2*i

                t4=t1+t3

                 if t4< b goto hemanth
0
0

Please log in or register to answer this question.