aboutsummaryrefslogtreecommitdiffstats
path: root/ports/ARM7-LPC214x/crt0.s
diff options
context:
space:
mode:
Diffstat (limited to 'ports/ARM7-LPC214x/crt0.s')
-rw-r--r--ports/ARM7-LPC214x/crt0.s5
1 files changed, 3 insertions, 2 deletions
diff --git a/ports/ARM7-LPC214x/crt0.s b/ports/ARM7-LPC214x/crt0.s
index 3f288b256..3aea74abf 100644
--- a/ports/ARM7-LPC214x/crt0.s
+++ b/ports/ARM7-LPC214x/crt0.s
@@ -39,7 +39,7 @@
* System entry points.
*/
_start:
- b ResetHandler
+ ldr pc, _reset
ldr pc, _undefined
ldr pc, _swi
ldr pc, _prefetch
@@ -48,6 +48,8 @@ _start:
ldr pc, [pc,#-0xFF0] /* VIC - IRQ Vector Register */
ldr pc, _fiq
+_reset:
+ .word ResetHandler
_undefined:
.word UndHandler
_swi:
@@ -60,7 +62,6 @@ _fiq:
.word FiqHandler
.word 0
.word 0
- .word 0
/*
* Reset handler.