syscall code gen