Question:

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

Updated On: Mar 18, 2024
  • 2
  • 4
  • 1
  • 3
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

The correct answer is(B): 2
Was this answer helpful?
0
0

Questions Asked in CUET PG exam

View More Questions