aboutsummaryrefslogtreecommitdiff
path: root/tests/cpu_trap/trap.S
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-03 12:46:17 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-03 12:46:17 +0100
commit4a40dddda4d3839814be2f00fb9a62f95b1b3f21 (patch)
tree8545559f0350958d96bcc59b8b995b2921b8e062 /tests/cpu_trap/trap.S
parent22e2fe92f52e68b8951a2dff1a0de9e05ddf9c7f (diff)
downloadqtmips-4a40dddda4d3839814be2f00fb9a62f95b1b3f21.tar.gz
qtmips-4a40dddda4d3839814be2f00fb9a62f95b1b3f21.tar.bz2
qtmips-4a40dddda4d3839814be2f00fb9a62f95b1b3f21.zip
Small changes in cpu_trap assembly
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