What is next use information? Write an algorithm to determine the livesness and next use info for each statement in a basic block. Apply the same for the following basic block:
T1 = Add(A) – 4
T2 = 4 * i
T3 = T1[T2]
sum = sum +T3
i = i+1
if i<=20 goto 3
Learn more about our help with Assignments: Engineering
Comments
Assignment Expert
03.02.15, 18:43
Dear visitor, please use panel for submitting new questions
keerthana
30.01.15, 20:43
) Write the three address code, identify the leaders and draw the
Control Flow Graph for the following code. begin prod := 0; i := 1; do
begin prod := prod + a[i] * b[i]; i = i+ 1; end while i
Leave a comment
Thank you! Your comments have been successfully added. However, they need to be checked by the moderator before being published.
Comments
Dear visitor, please use panel for submitting new questions
) Write the three address code, identify the leaders and draw the Control Flow Graph for the following code. begin prod := 0; i := 1; do begin prod := prod + a[i] * b[i]; i = i+ 1; end while i
Leave a comment