0 votes 0 votes X= (a+b)*(c+d) variables are in the memory execute on a register -register cpu Then how many 2 address and 3 address instructions requare .. Explain please CO and Architecture co-and-architecture register-allocation + – air1ankit asked Sep 13, 2017 • retagged Nov 13, 2017 by Arjun air1ankit 437 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
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 . hem chandra joshi answered Sep 13, 2017 hem chandra joshi comment Share Follow See all 0 reply Please log in or register to add a comment.