Lingrui98 / RISC-V-book

A translation project of the RISC-V reader
Other
175 stars 42 forks source link

Error in Chap.10 sidebar #20

Closed Lingrui98 closed 4 years ago

Lingrui98 commented 4 years ago

将 mtvec [0] 设置为1可启用此功能; 然后根据中断原因 x 将 PC 设置为(mtvec-1 + 4x),而不是通常的 mtvec。

This is fixed in commit 72a4b73 Thanks to @flyfish30