User Tools

Site Tools


cpu_abi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
cpu_abi [2021/08/29 20:28]
someone2639 [Functions With More Than Four Arguments] made RA location clearer
cpu_abi [2021/10/16 16:54]
someone2639 [Functions With More Than Four Arguments] clarified stack frame
Line 38: Line 38:
 ==== Functions With More Than Four Arguments ==== ==== Functions With More Than Four Arguments ====
  
-The ABI specifies four argument registers, so the natural thing to wonder is where a to put a fifth argument, sixth argument, and so on. The answer is to put them on the Stack. The general layout of the stack is as shown:+The ABI specifies four argument registers, so the natural thing to wonder is where a to put a fifth argument, sixth argument, and so on. The answer is to put them on the Stack. The general layout ​of a stack frame (the view of the stack from any arbitrary function) ​is as shown:
  
 == General Stack Usage == == General Stack Usage ==
cpu_abi.txt ยท Last modified: 2021/10/16 17:31 by someone2639