Modify main.s to use _start not main
This commit is contained in:
parent
dfd92fe769
commit
b55d737e89
@ -1,5 +1,5 @@
|
||||
.text
|
||||
.global main
|
||||
.global _start
|
||||
|
||||
@define constants, these can be used as symbols in your code
|
||||
.equ LED_CTL, 0x41210000
|
||||
@ -7,7 +7,7 @@
|
||||
|
||||
@the set and equ directives are equivalent and can be used interchangeably
|
||||
|
||||
main:
|
||||
_start:
|
||||
ldr r1,=SW_DATA @load switch address from constant
|
||||
ldr r2,=LED_CTL @load LED address from constant
|
||||
loop:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user