4 # Trap function 1: exit().
10 # Write 'pass' to stdout and quit
14 # Point to the string.
16 # Number of bytes to write; push onto stack.
18 # Adjust as the sim expects 3 byte offset. (!?)
20 # Trap function 5: write().
29 # Write 'fail' to stdout and quit
33 # Point to the string.
35 # Number of bytes to write; push onto stack.
37 # Adjust as the sim expects 3 byte offset. (!?)
39 # Trap function 5: write().
48 # All assembler tests should start with a call to "start"