Linux System Call Tables by Architecture · syscall.sh
The Linux syscall table for 38 architectures: every system call number, argument and register, with a table per architecture, from Linux 3.3 to 7.3.
The Linux syscall table for 38 architectures: every system call number, argument and register, with a table per architecture, from Linux 3.3 to 7.3.

Linux syscall tables in one place, grouped by architecture: system calls for 38 architectures with their numbers, arguments and registers, from Linux 3.3 to 7.3.
Every architecture's table, with the full history of when each syscall appeared and when it was dropped, is also a plain JSON file at /<arch>/syscalls.json, for example /x64/syscalls.json.
Removed from the Linux kernel, kept for reference. More about them on the historical architectures page.
Number in NR, arguments in ARG0 to ARG5, then the instruction. The result comes back in RETURN.
| ARCH | INSTRUCTION | NR | RETURN | ARG0 | ARG1 | ARG2 | ARG3 | ARG4 | ARG5 |
|---|---|---|---|---|---|---|---|---|---|
| x64 | syscall | rax | rax | rdi | rsi | rdx | r10 | r8 | r9 |
| x86 | int 0x80 | eax | eax | ebx | ecx | edx | esi | edi | ebp |
| arm64 | svc #0 | x8 | x0 | x0 | x1 | x2 | x3 | x4 | x5 |
| arm | svc #0 | r7 | r0 | r0 | r1 | r2 | r3 | r4 | r5 |
| riscv64 | ecall | a7 | a0 | a0 | a1 | a2 | a3 | a4 | a5 |
| ia32 | int 0x80 | eax | eax | ebx | ecx | edx | esi | edi | ebp |
| x32 | syscall | rax | rax | rdi | rsi | rdx | r10 | r8 | r9 |
| loongarch64 | syscall 0 | a7 | a0 | a0 | a1 | a2 | a3 | a4 | a5 |
| ppc64 | sc | r0 | r3 | r3 | r4 | r5 | r6 | r7 | r8 |
| ppc | sc | r0 | r3 | r3 | r4 | r5 | r6 | r7 | r8 |
| s390x | svc 0 | r1 | r2 | r2 | r3 | r4 | r5 | r6 | r7 |
| mips64 | syscall | v0 | v0 | a0 | a1 | a2 | a3 | a4 | a5 |
| mipsn32 | syscall | v0 | v0 | a0 | a1 | a2 | a3 | a4 | a5 |
| mipso32 | syscall | v0 | v0 | a0 | a1 | a2 | a3 | sp+16 | sp+20 |
| alpha | callsys | v0 | v0 | a0 | a1 | a2 | a3 | a4 | a5 |
| arc | trap0 | r8 | r0 | r0 | r1 | r2 | r3 | r4 | r5 |
| blackfin | excpt 0 | P0 | R0 | R0 | R1 | R2 | R3 | R4 | R5 |
| cris | break 13 | r9 | r10 | r10 | r11 | r12 | r13 | mof | srp |
| csky | trap 0 | r7 | a0 | a0 | a1 | a2 | a3 | r4 | r5 |
| frv | tira gr0, 0 | gr7 | gr8 | gr8 | gr9 | gr10 | gr11 | gr12 | gr13 |
| hexagon | trap0(#1) | r6 | r0 | r0 | r1 | r2 | r3 | r4 | r5 |
| ia64 | break 0x100000 | r15 | r8 | out0 | out1 | out2 | out3 | out4 | out5 |
| m32r | trap #2 | r7 | r0 | r0 | r1 | r2 | r3 | r4 | r5 |
| m68k | trap #0 | d0 | d0 | d1 | d2 | d3 | d4 | d5 | a0 |
| metag | SWITCH #0x440001 | D1Re0 | D0Re0 | D1Ar1 | D0Ar2 | D1Ar3 | D0Ar4 | D1Ar5 | D0Ar6 |
| microblaze | brki r14,8 | r12 | r3 | r5 | r6 | r7 | r8 | r9 | r10 |
| mn10300 | syscall 0 | d0 | d0 | a0 | d1 | a3 | a2 | d3 | d2 |
| nds32 | syscall | r15 | r0 | r0 | r1 | r2 | r3 | r4 | r5 |
| nios2 | trap | r2 | r2 | r4 | r5 | r6 | r7 | r8 | r9 |
| openrisc | l.sys 1 | r11 | r11 | r3 | r4 | r5 | r6 | r7 | r8 |
| parisc | ble 0x100(%sr2, %r0) | r20 | r28 | r26 | r25 | r24 | r23 | r22 | r21 |
| score | syscall | r27 | r4 | r4 | r5 | r6 | r7 | r8 | r9 |
| sh | trapa #31 | r3 | r0 | r4 | r5 | r6 | r7 | r0 | r1 |
| sparc | t 0x10 | g1 | o0 | o0 | o1 | o2 | o3 | o4 | o5 |
| sparc64 | t 0x6d | g1 | o0 | o0 | o1 | o2 | o3 | o4 | o5 |
| tilegx | swint1 | r10 | r0 | r0 | r1 | r2 | r3 | r4 | r5 |
| tilepro | swint1 | r10 | r0 | r0 | r1 | r2 | r3 | r4 | r5 |
| xtensa | syscall | a2 | a2 | a6 | a3 | a4 | a5 | a8 | a9 |
curl https://api.syscall.sh/v2/syscalls/x64/read
Any kernel release, diffs between releases and more in the API docs.
syscall brings syscall lookups, architecture comparisons, kernel history and an interactive explorer to your terminal. Its data is bundled with the binary, so it works offline.
brew install guitmz/tools/syscall
syscall read --arch x64
For other installation options and commands, see the CLI page.
The guide walks through making a syscall by hand on x64, arm64 and riscv64, and explains what everything on this site means. The releases page shows which syscalls each kernel release added or removed, and compare puts two architectures side by side. If you live in Emacs, syscall.el brings all of it there.
Texto de syscall.sh tal como lo publicó, leído de su página y mostrado aquí con el formato de El Autómata. El original, en syscall.sh · Volver a la noticia de El Autómata