- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 I 1 J 1 T1 10 I T2 T1 J T3 8 T2 T4 T3 88 A T4 0 0 1 (41.65 KiB) Viewed 40 times
1) 2) 3) 4) 5) 6) 7) 8) 9) 10) 11) 12) 13) 14) i = 1 j = 1 t1 = 10 * i t2 = t1 + j t3 = 8 * t2 t4 = t3 - 88 a[t4] = 0.0
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
1) 2) 3) 4) 5) 6) 7) 8) 9) 10) 11) 12) 13) 14) i = 1 j = 1 t1 = 10 * i t2 = t1 + j t3 = 8 * t2 t4 = t3 - 88 a[t4] = 0.0
1) 2) 3) 4) 5) 6) 7) 8) 9) 10) 11) 12) 13) 14) i = 1 j = 1 t1 = 10 * i t2 = t1 + j t3 = 8 * t2 t4 = t3 - 88 a[t4] = 0.0 j = j + 1 if j <= 10 goto (3) i=i+1 if i <= 10 goto (2) i = 1 t5=i-1 t6 = 88 * t5 a [t6] 1.0 15) 16) i=i+1 17) if i <= 10 goto (13) 5. Determine the Basic Block and Flow Graph from the following three address code snippets: