We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm trying to run the Main Stack Watermarking procedure as described in Application Note 316, page 7. (https://www.keil.com/appnotes/files/apnt_316.pdf)
Pre-compile there's a message "*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'", which is probably important to know. I am a newbie at this so please let me know if there's any other information you'd need.
Thanks,
Ethan
https://developer.arm.com/documentation/kan316/latest/
This is a more recent version of the document. This new document provides code that works on all Cortex-M versions. The one you reference will not work on Cortex M0 versions. For cortex M0, Immediate mov can only be 0..255, also mov between low registers (r0..r7) modifies the status bits.