Preparing special registers modifications

This commit is contained in:
lcbcFoo 2018-01-22 18:37:46 -02:00
commit 3b3a8ca81c
4 changed files with 9 additions and 4143 deletions

File diff suppressed because it is too large Load diff

BIN
riscv/main.bin Executable file

Binary file not shown.

9
riscv/special.S Normal file
View file

@ -0,0 +1,9 @@
.text
.globl main
.type "main",@function
main:
li x4,0x40000100
csrr x4,3
csrw 3,x5
ebreak

BIN
riscv/special.bin Normal file

Binary file not shown.