AREA LDM, CODE, READONLY ; name this block of code ENTRY ; mark first instruction ; to execute start ADR r0,ssydata1 LDMIB r0!,{r2,r3} LDMIA r0!,{r4,r5} LDMDB r0!,{r6,r7} LDMDA r0!,{r8,r9,r15} stop MOV r0, #0x18 ; angel_SWIreason_ReportException LDR r1, =0x20026 ; ADP_Stopped_ApplicationExit SWI 0x123456 ; Angel semihosting ARM SWI ssydata DCD 0x00000000 DCD 0x00000001 DCD 0x00000002 DCD 0x00000003 ssydata1 DCD 0x00000004 DCD 0x00000005 DCD 0x00000006 DCD 0x00000007 END ; Mark end of file