Skip to content

gdb don't have CSR_MNSTATUS #594

@quantrpeter

Description

@quantrpeter

Hi
In rv64ui-p-addi, it has insturction "csrwi CSR_MNSTATUS, MNSTATUS_NMIE", which is "csrwi 0x744,8". When my qemu-system-riscv64 execute it, it got exception with mcause = 2 (illegal instruction). Is it normal behavior?

image

thanks
Peter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions