Discussion
Backpatching is a technique used to
Answer: D
Correct answer: fill in addresses that were not known when the code was first emitted
A forward jump must be emitted before its destination has been reached, so the address field is left blank and its location recorded on a list.
When the target label is finally seen, the compiler walks the list and patches every waiting instruction with the now-known address. The technique is what lets a single-pass compiler handle forward branches in conditionals and loops without a second traversal - it defers only the address, not the code.
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