Keyboard shortcuts

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

C.2 Calling Convention

PurposeRegisters
Arguments (1-8)x0-x7
Return valuex0
Callee-savedx19-x28, sp, fp
Link registerlr (x30)

Additional arguments beyond 8 are passed on the stack.