COMPILER DESIGN

INTERMEDIATE CODE GENERATION

THREE ADDRESS CODE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The representation which makes use of pointer to list all references to computation which are made separately and stored is
A
Triple
B
Indirect triple
C
Quadruple
D
None
Explanation: 

Detailed explanation-1: -The three-address code is a sequence of statements of the form A−=B op C, where A, B, C are either programmer-defined names, constants, or compiler-generated temporary names, the op represents an operator that can be constant or floatingpoint arithmetic operators or a Boolean valued data or a logical operator.

Detailed explanation-2: -Quadruple is a structure that contains atmost four fields, i.e., operator, Argument 1, Argument 2, and Result. The triples have three fields to represent the three address codes. The field of triples includes the name of the operator, the first source operand, and the second source operand.

There is 1 question to complete.