From 4a40dddda4d3839814be2f00fb9a62f95b1b3f21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 3 Jan 2018 12:46:17 +0100 Subject: Small changes in cpu_trap assembly --- tests/cpu_trap/trap.S | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/cpu_trap') 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 -- cgit v1.2.3