scause

2024-06-28

最后编辑于:2024-06-28

    #RISC-V

| Interrupt | Exception | Description | | :-------: | :-------: | :----------------------------: | | 0 | 0 | Instruction address misaligend | | 0 | 1 | Instruction access fault | | 0 | 2 | Illegal instruction | | 0 | 3 | Breakpoint | | 0 | 4 | Load address misaligned | | 0 | 5 | Load access fault | | 0 | 6 | Store/AMO address misaligned | | 0 | 7 | Store/AMO access fault | | 0 | 8 | Environment call from U-mode | | 0 | 9 | Environment call from S-mode | | 0 | 11 | Environment call from M-mode | | 0 | 12 | Instruction page fault | | 0 | 13 | Load page fault | | 0 | 15 | Store/AMO page fault |