0 votes 0 votes Compiler Design compiler-design code-optimization three-address-code numerical-answers made-easy-test-series + – Chetan28kumar asked Oct 19, 2018 retagged Jul 15, 2022 by Anjana5051 Chetan28kumar 431 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Chetan28kumar commented Oct 19, 2018 i moved by Shaik Masthan Oct 19, 2018 reply Follow Share ans?? 0 votes 0 votes Swapnil Naik commented Oct 20, 2018 reply Follow Share T1 = b x c T2 = a + T1 T3 = T2 + d T4 = T3 - e T5 = T4 - T2 so I think 5 should be the answer. 1 votes 1 votes adityaaswal commented Oct 24, 2018 reply Follow Share T1 = b T2 = c T1 = t1*t2 t2 = a t1 = t1+t2 t2 = d t1 = t1+t2 t2 = e t1 = t1-t2 t2 = a t1 = t1-t2 t2 = b t3 = c t2 = t2*t3 t1 = t1+t2 So won't 3 be the answer 0 votes 0 votes Swapnil Naik commented Oct 24, 2018 reply Follow Share for three address code definition says: x = y op z here x,y,z are different what you are doing is T1=T1+T2 which is not allowed [this operation will happen in assembly language code using single register] we also use x = op z (for some operations) 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes Min number is 2. PiratedVirus answered Nov 9, 2018 PiratedVirus comment Share Follow See all 0 reply Please log in or register to add a comment.