2080 6

Compiler Design and Construction20805 marksBasic blocks and flow graphs

How do you recognize basic block? Discuss about the factors that affect code generator.

How do you recognize basic block? Discuss about the factors that affect code generator. [5]

--- A basic block is a sequence of consecutive statements in which flow of control enters at the beginning and leaves at the end without any halt or possibility of branching except at the end. First, we identify leaders (the first statement of a basic block) using the following rules: 1. Rule 1: ...

Up nextFind the FIRST and FOLLOW of all the non terminals in following grammar. S→aAbcD∣εS \right