CSR instructions not not recognized #20
Replies: 1 comment
-
CSR instructions are supported.
Yes, invoke the compiler with the proper extensions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using the RISC-V (riscv-none-elf-gcc-xpack) v12.2.0-3 toolchain, and I cannot access CSR (Control and Status Register) registers. Here is the message I received when I tried to read the MISA (Machine Information Status Register A) registers:
'unrecognized opcode `csrr a5, misa'."
Is CSR instructions supported by the toolchain?
if not, is there any way to access CSR registers?
Beta Was this translation helpful? Give feedback.
All reactions