tkkarjal / magia

Automated brain PET analysis pipeline
https://doi.org/10.3389/fninf.2020.00003
MIT License
27 stars 6 forks source link

When the "movs pc,lr" instruction is executed, if an IRQ interrupt is triggered, it will result in behavior different from that of the actual hardware. #104

Closed fkuzume closed 7 months ago

fkuzume commented 8 months ago

400: e1b0f00e movs pc, lr

On the actual hardware, when the "movs pc, lr" instruction is executed in SVC mode, even if an IRQ interrupt is triggered, the next instruction will be executed in USR mode. However, in the "magia" environment, the next instruction will be executed in IRQ mode instead.