retagged by
437 views

1 Answer

2 votes
2 votes

X= (a+b)*(c+d)

For two address

Add a b

Add c d

Mul a c

store  a X

For three address(Opcode store_operand operand operand)

Add a a c

Add c c d

Mul X a c

It may be more reducible .

Related questions

0 votes
0 votes
0 answers
1
0 votes
0 votes
0 answers
2
manisha11 asked Mar 12, 2019
323 views
Show how to do the following statement c = a + b[0]a) using register direct, imm, register indirectb) using register direct, imm, absolute addressingc) using register di...