COMPILER DESIGN

SYNTAX ANALYSIS

ROLE OF THE PARSER

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
For three address code generation of “B B1 or M B2”, M.quad is used to backpatch
A
B1.truelist
B
B1.falselist
C
B2.truelist
D
B2.falselist
Explanation: 

Detailed explanation-1: -We now use backpatching to translate flow-of-control statements in one pass. Here S denotes a statement, L a statement, L a statement list, A an assignment-statement, and B a boolean expression.

Detailed explanation-2: -In computing, code generation is part of the process chain of a compiler and converts intermediate representation of source code into a form (e.g., machine code) that can be readily executed by the target system. Sophisticated compilers typically perform multiple passes over various intermediate forms.

There is 1 question to complete.