Register r12 stacked on exception, not r11?

Report any suspected bugs that you find
Locked
Helpdesk
Posts: 35
Joined: Sat Jan 01, 2011 5:43 am
Contact:

Register r12 stacked on exception, not r11?

Post by Helpdesk » Thu Nov 16, 2023 1:57 am

According to the MO docs, R12 gets stacked with an exception, but module Traps prints "r11". I think it should be "r12" if I read the code correctly, and if the docs are accurate.

Helpdesk
Posts: 35
Joined: Sat Jan 01, 2011 5:43 am
Contact:

Re: Register r12 stacked on exception, not r11?

Post by Helpdesk » Thu Nov 16, 2023 2:03 am

Thank you for letting us know. Yes - that is an error in Astrobe for Cortex-M0, M3, M4 and M7 which will be fixed in the next release. In the meantime, you can fix the problem by changing "r11" to "r12" in the procedure OutStackItem in the library module Traps.

Locked