Discussion
Instruction selection is the task of
Answer: C
Correct answer: choosing target instructions that implement the intermediate operations
Instruction selection maps each intermediate operation, or a pattern of several, onto the machine instructions that realise it - often with several valid choices differing in cost.
A three-address addition might become an add, a load-effective-address, or an increment, according to the operands and the addressing modes available. Because the choice depends entirely on the target's instruction set, it is a back-end task and one of the parts that must be rewritten when a compiler is retargeted.
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