218,219c218,219
< // RISC-V only has four system call argument registers by convention, so
< // if a larger index is requested return 0
---
> // If a larger index is requested than there are syscall argument
> // registers, return 0
221c221
< if (i < 4)
---
> if (i < SyscallArgumentRegs.size())