Question
STM32 Cortex M3 assembly with Keil uVision
Posted on January 09, 2013 at 04:39
I have been working for a couple of weeks trying to simulate a simple assembly program using Keil uVision 4. I have tried the Cortex M3 for a target and I have tried a few of the STM32F10x devices for the target, particularly the STM32F103RC. All with the same results. The program builds with only one warning:
Test3.sct(8): warning: L6314W: No section matches pattern *(InRoot$$Sections). When I run the program the program starts execution at 0x0, but the code is at 0x8000000 where it is supposed to be according to the default Read/Only Memory section. What needs to be done to execute at the instructions?AREA RESET, CODE, READONLY
ENTRY
start MOV r0, #3
MOV r1, #7
ADD r2, r1, r0
loop B loop
END
#assembly-language #arm-cortex-m3 #cross-post