aboutsummaryrefslogtreecommitdiff
path: root/debug/programs/priv.S
blob: 75481bea6b844ab2bd4b46e9a4ae4951d8b04398 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "encoding.h"

        .global         main

        .section        .text
main:
        # MISA is only readable from machine mode
        csrr    t0, CSR_MISA
        csrr    t0, CSR_MISA
        csrr    t0, CSR_MISA
        csrr    t0, CSR_MISA