GATE CS and IT 2013 Paper

Show Para  Hide Para 
Common Data for Questions 48 and 49:
The following code segment is executed on a processor which allows only register operands in its instructions. Each instruction can have atmost two source operands and one destination operand. Assume that all variables are dead after this code segment.
c = a + b;
d = c * a;
e =c + a;
x =c * c;
if (x > a) {
    y = a * a;
}
else {
    d = d * d;
    e = e * e;
}
© examsnet.com
Question : 48
Total: 65
Go to Question: