C.2 Calling Convention
| Purpose | Registers |
|---|---|
| Arguments (1-8) | x0-x7 |
| Return value | x0 |
| Callee-saved | x19-x28, sp, fp |
| Link register | lr (x30) |
Additional arguments beyond 8 are passed on the stack.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
| Purpose | Registers |
|---|---|
| Arguments (1-8) | x0-x7 |
| Return value | x0 |
| Callee-saved | x19-x28, sp, fp |
| Link register | lr (x30) |
Additional arguments beyond 8 are passed on the stack.