0 votes 0 votes DIfference between Static single assignment, 3 address code , 3 address instruction? How these 3 are different in representation? CO and Architecture co-and-architecture + – vaishali jhalani asked Feb 6, 2017 retagged Nov 13, 2017 by Arjun vaishali jhalani 439 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 2 votes STATIC SINGLE ASSIGNMENT EX- t1 = t2 + 1 3 ADDRESS CODE EX- TO REP b=a+c t1 = a +c b =t1 3 ADDRESS INSTRUCTION OPCODE ADDRESS 1 ADDRESS 2 ADDRESS 3 Smriti012 answered Feb 6, 2017 edited Feb 9, 2017 by Smriti012 Smriti012 comment Share Follow See all 3 Comments See all 3 3 Comments reply vaishali jhalani commented Feb 6, 2017 reply Follow Share SSA and 3 address code could be 2 address instruction? 0 votes 0 votes Smriti012 commented Feb 6, 2017 i edited by Smriti012 Feb 9, 2017 reply Follow Share Three-address code is an intermediate code used by optimizing compilers to aid in the implementation of code-improving transformations. Address instructions are used to define the number of address field in the instruction format of a computer depends on the internal organization of its registers. (computer organnization) Static Single Assignment is used for intermediate code in compiler design. In Static Single Assignment form(SSA) each assignment to a variable should be specified with distinct names. We use subscripts to distinguish each definition of variables. Correct me if I am wrong! 0 votes 0 votes Smriti012 commented Feb 9, 2017 reply Follow Share for SSA see this example http://quiz.geeksforgeeks.org/gate-gate-cs-2016-set-1-question-29/ 0 votes 0 votes Please log in or register to add a comment.