AREA RESET, CODE, READONLY EXPORT __Vectors __Vectors DCD 0x20001000 DCD Reset_Handler AREA Code, CODE, READONLY Reset_Handler PROC EXPORT Reset_Handler IMPORT ||Lib$$Request$$armlib|| ; Pull in library IMPORT __scatterload ; Scatter Loader BL __scatterload ; Initialize statics in RAM ; jumps to __main_after_scatterload ENDP ; Reset_Handler __main_after_scatterload PROC EXPORT __main_after_scatterload NOP LDR R0,=MEK1 LDRB R1,[R0,#3]! NOP ENDP AREA Data, DATA, READWRITE MEK1 DCB 0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9 END