Page 1 of 1

Register r12 stacked on exception, not r11?

Posted: Thu Nov 16, 2023 1:57 am
by Helpdesk
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.

Re: Register r12 stacked on exception, not r11?

Posted: Thu Nov 16, 2023 2:03 am
by Helpdesk
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.