Question: Problem 3 (10 points): Register Calling Conventions One of the pieces of documentation that goes hand-in-hand with the ISA, is the Application Binary Interface, or

Problem 3 (10 points): Register Calling Conventions One of the pieces of documentation that goes hand-in-hand with the ISA, is the Application Binary Interface, or the ABl. The ABl defines the rules that programmers who write in the specific ISA are to follow in order for their code to be compatible with functions written by other programmers. An integral part of the ABI is the calling conventions for the registers, these conventions define which registers are caller-saved and which ones are callee saved as well as their typical usage. If you look at the bottom right corner of the first page of the LEGv8 Reference Sheet on the website, you'll see the calling conventions for LEGv8. a. Based on this calling convention, which registers are caller saved? 13] b. Based on this calling convention, which registers are callee saved? [3] c. In your own words, explain why the ABI isn't part of the ISA. [4]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
