Question 14
In xv6 on RISC-V, which register contains the system call number when the user process traps into the kernel?
a0
a7
sp
sepc
In xv6 on RISC-V, which register contains the system call number when the user process traps into the kernel?
a0
a7
sp
sepc
Correct answer
a7
Question 14 of 20 in the IIT Madras BS Operating Systems (Operating Systems) End Term paper sat on 10 May 2026, in the January 2026 term (OS 10 May 26). It carries 2 marks.