libk  syscall.s

File arch/x86.lin.32/syscall.s from the latest check-in


; register order for syscall convention
%define sys.reg.n 6
%define sys.reg.ret eax
%define sys.reg.0 eax
%define sys.reg.1 ebx
%define sys.reg.2 ecx
%define sys.reg.3 edx
%define sys.reg.4 esi
%define sys.reg.5 edi

%define sys.call int 0x80