diff options
Diffstat (limited to 'src/start.s')
-rw-r--r-- | src/start.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/start.s b/src/start.s new file mode 100644 index 0000000..0fd2a5f --- /dev/null +++ b/src/start.s | |||
@@ -0,0 +1,11 @@ | |||
1 | .section ".text.boot" | ||
2 | |||
3 | .global _start | ||
4 | |||
5 | _start: | ||
6 | ldr r3, =main | ||
7 | blx r3 | ||
8 | |||
9 | halt: | ||
10 | wfe | ||
11 | b halt | ||