Last change
on this file since 87db514 was
87db514,
checked in by Amar Takhar <amar@…>, on 04/16/15 at 19:26:21
|
Initial commit of the umon repository.
Prior to this three changes were made:
- Remove umon_ prefix from parent directories.
- Collapse main/target/ into main/
- Remove ports/template/flashtest.scr.ucon script.
|
-
Property mode set to
100644
|
File size:
322 bytes
|
Line | |
---|
1 | #include "cfg.h" |
---|
2 | #define sp 1 |
---|
3 | #define r0 0 |
---|
4 | #define r7 7 |
---|
5 | |
---|
6 | .extern AppStack |
---|
7 | .extern Cstart |
---|
8 | .globl start |
---|
9 | |
---|
10 | start: |
---|
11 | lis sp, (AppStack+(APPSTACKSIZE-4))@h |
---|
12 | addi sp, sp, (AppStack+(APPSTACKSIZE-4))@l |
---|
13 | addi r7, r0, -8 |
---|
14 | and sp, sp, r7 /* 8-byte aligned (EABI spec) */ |
---|
15 | ba Cstart |
---|
16 | nop |
---|
Note: See
TracBrowser
for help on using the repository browser.