2080 9

Compiler Design and Construction20805 marksThree-address code

What is three-address code? How high level code is converted to three address code? Illustrate with an example.

What is three-address code? How high level code is converted to three address code? Illustrate with an example. [5]

Three-address code is an intermediate code representation where each instruction uses at most three addresses: two for operands and one for the result. Each instruction in three-address code is described as a 4-tuple: (operator, operand1, operand2, result) The general form of a three-address stat...

Up nextWhat is activation tree? Define type checking system with examples.