05.10.2013 Views

1 Code Generation Code generator phase ... - VTU e-Learning

1 Code Generation Code generator phase ... - VTU e-Learning

1 Code Generation Code generator phase ... - VTU e-Learning

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6 H go to 13 B6<br />

7<br />

8<br />

9<br />

10<br />

11<br />

12<br />

13<br />

14<br />

15<br />

H t1 = i * 10<br />

t2 = t1 + j<br />

t3 = 4 * t2<br />

C[t3] = 0<br />

j = j + 1<br />

go to 5<br />

H i = i + 1<br />

go to L6<br />

Flow graph for the basic blocks is as follows in Fig 9.1<br />

B6<br />

B8<br />

Directed Acyclic Graph<br />

B4<br />

B5<br />

B7<br />

B1<br />

B2<br />

B3<br />

B7<br />

B8<br />

Fig 9.1 Flow graph for the basic blocks<br />

15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!