semihost client example program

Dependencies:   mbed

Committer:
va009039
Date:
Thu Feb 20 09:23:19 2014 +0000
Revision:
0:7a8fdb1e6615
first commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
va009039 0:7a8fdb1e6615 1 ;patch for lpc810
va009039 0:7a8fdb1e6615 2 ;
va009039 0:7a8fdb1e6615 3 PRESERVE8
va009039 0:7a8fdb1e6615 4 THUMB
va009039 0:7a8fdb1e6615 5
va009039 0:7a8fdb1e6615 6 AREA |.text|, CODE, READONLY
va009039 0:7a8fdb1e6615 7
va009039 0:7a8fdb1e6615 8 Reset_Handler PROC
va009039 0:7a8fdb1e6615 9 EXPORT Reset_Handler
va009039 0:7a8fdb1e6615 10 IMPORT SystemInit
va009039 0:7a8fdb1e6615 11 IMPORT __main
va009039 0:7a8fdb1e6615 12 LDR R0, =0x10000400
va009039 0:7a8fdb1e6615 13 MOV SP,R0
va009039 0:7a8fdb1e6615 14 LDR R0, =SystemInit
va009039 0:7a8fdb1e6615 15 BLX R0
va009039 0:7a8fdb1e6615 16 LDR R0, =__main+4
va009039 0:7a8fdb1e6615 17 BX R0
va009039 0:7a8fdb1e6615 18 ENDP
va009039 0:7a8fdb1e6615 19
va009039 0:7a8fdb1e6615 20 ALIGN
va009039 0:7a8fdb1e6615 21
va009039 0:7a8fdb1e6615 22 END