2 # Copyright (c) 1998 Robert Nordier
5 # Redistribution and use in source and binary forms are freely
6 # permitted provided that the above copyright notice and this
7 # paragraph and the following disclaimer are duplicated in all
10 # This software is provided "AS IS" and without any express or
11 # implied warranties, including, without limitation, the implied
12 # warranties of merchantability and fitness for a particular
30 .set INT_SYS,0x30 # Interrupt number
34 __exit: xorl %eax,%eax # BTX system
35 int $INT_SYS # call 0x0
39 __exec: movl $0x1,%eax # BTX system
40 int $INT_SYS # call 0x1