Hacker News new | ask | show | jobs
by richardwhiuk 822 days ago
That's already kind of how syscalls work - you shove the syscall number in a register, and then call an interrupt.