; vim: ft=nasm
%define lin.call.exit 1
%define lin.call.fork 2
%define lin.call.read 3
%define lin.call.write 4
%define lin.call.open 5
%define lin.call.close 6

%define lin.call.chdir 12

%define lin.reg.n 6
%define lin.reg.0 eax
%define lin.reg.1 ebx
%define lin.reg.2 ecx
%define lin.reg.3 edx
%define lin.reg.4 esi
%define lin.reg.5 edi

%define lin.call int 0x80 ; sysenter is allegedly the
  ; politically correct option but it does not actually
  ; appear to work without a whole lot of extra bullshit

; todo: learn vdsos
