Computer Sciences > Gate 2017 Set-1 > Addressing Mode
Consider the following intermediate program in three address code

p = a - b
q = p * c
p = u * v
q = p+q

Which one of the following corresponds to a static single assignment from the above code?
A
p1 = a - b
q1 =p1 * c
p1= u * v
q1 =p1 + q1
B
p3= a - b
q4= p3* c
p4= u * v
q5 =p4+ q4
C
p1 = a - b
q1=p2 * c
p3= u * v
q2= p4 + q3
D
p1 = a - b
q1= p * c
p2= u * v
q2= p + q

Correct : Addressing Mode

Similar Questions

A machine has a 32-bit architecture, with 1-word long instructions. It has 64 registers, each of which is 32 bits long. It needs to support 45 instructions, whi...
#513 Fill in the Blanks
A processor has 40 distinct instructions and 24 general purpose registers. A 32-bit instruction word has an opcode, two register operands and an immediate opera...
#553 Fill in the Blanks
A processor has 64 registers and uses 16-bit instruction format. It has two types of instructions: I-type and R-type. Each I-type instruction contains an opcode...
#641 Fill in the Blanks

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......