diff options
Diffstat (limited to 'sim/testsuite/mips64vr5900el-elf/exit47.s')
-rw-r--r-- | sim/testsuite/mips64vr5900el-elf/exit47.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sim/testsuite/mips64vr5900el-elf/exit47.s b/sim/testsuite/mips64vr5900el-elf/exit47.s new file mode 100644 index 0000000..139a7ae --- /dev/null +++ b/sim/testsuite/mips64vr5900el-elf/exit47.s @@ -0,0 +1,14 @@ + # The main body of code loops on the variable FLAG, waiting + # for it to be set. When set, the message `Tick' is displayed + # and the flag cleared. + + # The interrupt handler, sets the global FLAG variable and + # then resumes normal execution. + + .globl _start + .set noreorder +_start: + + li $4, 47 + break 1023 + nop |