From bcb508498caa64a7c92a1c11bc85acdefa6209cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 1 Jan 2018 20:46:28 +0100 Subject: Add cpu_trap test --- tests/cpu_trap/trap.S | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/cpu_trap/trap.S (limited to 'tests/cpu_trap/trap.S') diff --git a/tests/cpu_trap/trap.S b/tests/cpu_trap/trap.S new file mode 100644 index 0000000..9581f7e --- /dev/null +++ b/tests/cpu_trap/trap.S @@ -0,0 +1,8 @@ +.text +.globl _start + +_start: + addi $1, $0, 1 +loop: + add $1, $1, $1 + j loop -- cgit v1.2.3