Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设中断发生时ARM7TDMI处于Thumb模式,一旦进入ISR,r14_irq的LSB是否=1?
不。
主要是因为异常返回与分支非常不同——它与 Thumb 状态的交互方式与分支不同,因为它通过恢复 SPSR 来替换整个执行状态。具体来说,被中断上下文的指令集状态被编码在 SPSR.T 位中。