projects
/
cortex-from-scratch
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
jump to c
[cortex-from-scratch]
/
start.asm
1
.equ STACK_TOP, 0x20000800
2
.text
3
.global _start
4
.code 16
5
.syntax unified
6
_start:
7
.word STACK_TOP, start
8
.type start, function
9
10
/* Start of main program */
11
start:
12
b main
13
b start
14
15
.data
16
Result:
17
.word 'X' /* results now is in 0x20000008 (0x20000000 + 2 w) */
18
.end
19