Quote Originally Posted by Yura717 View Post
Linux is a UNIX like system. However, its kernel uses the same system-call convention of passing parameters in registers MS-DOS does. As with the UNIX convention, the function number is placed in EAX. The parameters, however, are not passed on the stack but in EBX, ECX, EDX, ESI, EDI, EBP:
Во FreeBSD тоже так можно. Там у компилятора gcc есть опции оптимизации - и можно задавать такой вариант передачи параметров.