看板 Grad-ProbAsk 關於我們 聯絡資訊
題目: In MIPS programs, the current PC is copied to an EPC register once interrupt occurs. It's possible to write the current PC to register $ra just like the jal instruction? Why? 我的想法是中斷是將"發生中斷指令的位址存在EPC",所以存的PC值剛好是PC jal存的位址是存下一個指令的位址(PC+4) 所以答案是不可能 請問這樣是對還是錯 請各位不吝指教 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.224.136.75
nuendo:應該沒錯 03/19 20:28