Question: Draw the basic block for the following 3 access code anippet 1 . i = 1 2 . j = 1 3 . t 1

Draw the basic block for the following 3 access code anippet
1. i =1
2. j =1
3. t1=10* i
4. t2= t1+ j
5. t3=8* t2
6. t4= t3-8
7. a[t4]=0.0
8. j = j +1
9. if j <=10 goto(3)
10. i = i +1
11. if i <=10 goto(2)
12. i =1
13. t5= i -1
14. t6=8*t5
15. a[t6]=1.0
16. i = i +1
17. if i <=10 goto(13)
[goto(1)-> jump to statement 1]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!