Discussion
A frame pointer is sometimes omitted from generated code in order to
Answer: C
Correct answer: free one more register for allocation to values
The frame pointer occupies a register solely to make the frame layout easy to follow, and where the frame size is known at compile time the stack pointer alone will serve. Omitting it recovers a register, which on a machine with few of them is worth having - at the cost of making stack traces harder to reconstruct.
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