| 1 | /* Purpose: test example, verify the soundness of the jump operation */ |
| 2 | |
| 3 | #define SYS_exit_group 94 |
| 4 | |
| 5 | .text |
| 6 | .globl _start |
| 7 | |
| 8 | _start: |
| 9 | { |
| 10 | jump pass |
| 11 | } |
| 12 | /* |
| 13 | * Inlined fail label in crt.S so we can fail without |
| 14 | * having a functioning jump |
| 15 | */ |
| 16 | { |
| 17 | r0 = #1 |
| 18 | r6 = #SYS_exit_group |
| 19 | } |
| 20 | { |
| 21 | trap0(#1) |
| 22 | } |