        AREA ARMex, CODE, READONLY  ; name this block of code
        ENTRY                       ; mark first instruction
                                ; to execute
start
        MOV     r0, #1024             ; start of multiple
        MOV     r1, #3		;
loop
        sub     r0,r0,#1
        cmp     r0,#0
        sub     r2,r0,r1		;
        mul     r4, r0, r2          ;
        bne     loop

stop
        MOV     r0, #0x18           ; angel_SWIreason_ReportException
        LDR     r1, =0x20026        ; ADP_Stopped_ApplicationExit
        SWI     0x123456            ; Angel semihosting ARM SWI

        END                         ; Mark end of file
