Consider the expression \((a-1) * (((b+c)/3)+d)\). Let \(X\) be the minimum…

GATE · 2017 · CS · Set 1 · Computer Science & IT

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 

  1.  only load and store instructions can have memory operands and 

  2.  arithmetic instructions can have only register or immediate operands.

The value of XX is _____________ .

Attempted by 43 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…