Add abort() for benefit of benchmark code
[riscv-tests.git] / debug / programs / priv.S
1 #include "../../env/encoding.h"
2
3 .global main
4
5 .section .text
6 main:
7 # MISA is only readable from machine mode
8 csrr t0, CSR_MISA
9 csrr t0, CSR_MISA
10 csrr t0, CSR_MISA
11 csrr t0, CSR_MISA