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.3 Syscall Intrinsics

Same syntax as x86_64:

__syscall0__(num)
__syscall1__(num arg1)
# ... etc.

Syscall convention:

  • Syscall number in a7
  • Arguments in a0-a5
  • Return value in a0