summaryrefslogtreecommitdiffstats
path: root/apps/common/crt0_arm.S
blob: 6e4959725dee98debded9c0a86b9e9a844878999 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "cfg.h"

    .extern AppStack
	.extern Cstart
	.global	start

    /* Set stack pointer to end of AppStack and jump to Cstart:
	 */
start:
    ldr sp, =(AppStack + APPSTACKSIZE - 4)

jump_to_c:
    bl Cstart