Use a dispatch table instead of switch/case for handling system calls.