Discussion
Arrange these steps of partitioning three address code into basic blocks.
1. mark each jump target and each instruction after a jump
2. identify the leaders among the instructions
3. form a block from each leader up to the next leader
4. take the first instruction of the program as a leader
Answer: C
The leaders are found first by the two rules, and each block then runs from one leader to just before the next. The partition is unique for a given instruction sequence. Two compilers applying the rules will always agree on the blocks.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development