aboutsummaryrefslogtreecommitdiff
path: root/tests/cpu_trap/trap.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cpu_trap/trap.S')
-rw-r--r--tests/cpu_trap/trap.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/cpu_trap/trap.S b/tests/cpu_trap/trap.S
index 9581f7e..11f8597 100644
--- a/tests/cpu_trap/trap.S
+++ b/tests/cpu_trap/trap.S
@@ -1,8 +1,10 @@
.text
-.globl _start
+.set noat
+.set noreorder
+.globl _start
_start:
addi $1, $0, 1
loop:
- add $1, $1, $1
j loop
+ add $1, $1, $1