projects
/
cascardo
/
blix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cause illegal instruction
[cascardo/blix.git]
/
blix.S
diff --git
a/blix.S
b/blix.S
index
2eb42b8
..
dd35be8
100644
(file)
--- a/
blix.S
+++ b/
blix.S
@@
-9,6
+9,7
@@
_start:
jal puts
csrr a2, stvec
jal putl
+ csrw 0xfff, a0
halt:
j halt
@@
-46,6
+47,8
@@
_vec:
li a7, 1
la a1, _exception
jal puts
+ csrr a2, scause
+ call putl
loop2:
j loop2