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.
Hi,
I'm planning to do a bootloader for a Cortex-M1 processor but i'm having serious problems.
First of all, the Keil says it expect a ")" when writing this type of inline assembly:
Check the manual. You are trying GNU syntax. ARMCC syntax is different!
Thanks Bastian, that was the problem.
More over. In order to change the stack pointer and the program counter you have to make a separate assembly file, because inline assembly doesn't have direct access to those registers. FYI
Juan