2 # All assembler tests should start with a call to "start"
6 # Skip over these inlined funcs.
10 .type __pass, function
16 .type __fail, function
32 .type __start, function
37 # Make a libgloss/Linux system call
38 .macro system_call nr:req
43 # Quit the current test
50 # Write 'pass' to stdout via syscalls and quit;
51 # meant for non-OS operating environments
57 # Write 'fail' to stdout via syscalls and quit;
58 # meant for non-OS operating environments
64 # Just like the write() C function; uses system calls
65 .macro write fd:req, buf:req, count:req