CSC 645 - Compiler Construction

Dr. R. M. Siegfried

Assignment #7 - Optimizing Intermediate Code

Due Wednesday, November 4, 2026

Optimize the following code:



     t1 := 14-2

     t2 := t1 + x

     x := t2 * 2

     t4 := t2 - t2

     t5 := t4 * y

     z := t5

[Back to the Assignments Index]