summaryrefslogtreecommitdiff
path: root/demo/start.S
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-10-04 15:23:49 -0600
committerAlejandro Soto <alejandro@34project.org>2023-10-04 15:23:49 -0600
commit64dbe25a5023b87acaa648c7cfcb3f183032589a (patch)
tree16adff52540bae421b145903a8a657ed533fe384 /demo/start.S
parentf2b332fe0bf95beab5ef4ecbbdc506a1b7d0399c (diff)
Makefile: add rules for demo
Diffstat (limited to 'demo/start.S')
-rw-r--r--demo/start.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/start.S b/demo/start.S
index a0a9a4f..ecdeb3c 100644
--- a/demo/start.S
+++ b/demo/start.S
@@ -34,8 +34,8 @@ _start:
str r2, [r0]
ldr r2, =__cpus
lsl r3, r1, #2
- ldr ip, [r2, r3]
- str r1, [ip]
+ ldr r9, [r2, r3]
+ str r1, [r9]
ldr r2, =_stack_shift
lsl r1, r1, r2
ldr sp, =_stack_begin