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

B.2 Calling Convention

PurposeRegisters
Arguments (1-8)a0-a7
Return valuea0
Callee-saveds0-s11, ra
Stack pointersp (16-byte aligned)

Additional arguments beyond 8 are passed on the stack.