Syscall ID

Question Text

What register stores the system call ID on x86_64?

Question Answers

  • RIP

  • RSP

  • RAX

  • RDX

Feedback

RAX is the register used for passing the syscall ID and the result code.