From b55d737e8938c393caaee06705d2c67156f2a92a Mon Sep 17 00:00:00 2001 From: Madeline Busig Date: Fri, 10 Jul 2026 20:23:30 -0700 Subject: [PATCH] Modify main.s to use _start not main --- src/main.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.s b/src/main.s index 219a93d..0fdd738 100644 --- a/src/main.s +++ b/src/main.s @@ -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: