Modify main.s to use _start not main

This commit is contained in:
Madeline Busig 2026-07-10 20:23:30 -07:00
parent dfd92fe769
commit b55d737e89

View File

@ -1,5 +1,5 @@
.text .text
.global main .global _start
@define constants, these can be used as symbols in your code @define constants, these can be used as symbols in your code
.equ LED_CTL, 0x41210000 .equ LED_CTL, 0x41210000
@ -7,7 +7,7 @@
@the set and equ directives are equivalent and can be used interchangeably @the set and equ directives are equivalent and can be used interchangeably
main: _start:
ldr r1,=SW_DATA @load switch address from constant ldr r1,=SW_DATA @load switch address from constant
ldr r2,=LED_CTL @load LED address from constant ldr r2,=LED_CTL @load LED address from constant
loop: loop: