Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2017 Set 1
Questions

Q52

NAT2 marksCompiler designMedium

Consider the expression (a−1)∗(((b+c)/3)+d)(a-1) * (((b+c)/3)+d). Let XX be the minimum number of registers required by an optimal code generation (without any register spill) algorithm for a load/store architecture, in which only load and store instructions can have memory operands and arithmetic instructions can have only register or immediate operands. The value of XX is _____________ .

Sign in to save attempts.

The solution is hidden while you attempt this question. It opens once you check or show the answer.