tested working terminal and reordering of code
[cortex-from-scratch] / start.asm
index ba161a2..54d2b91 100644 (file)
--- a/start.asm
+++ b/start.asm
@@ -29,6 +29,7 @@ hardfault:
 stub:
        ldr R0,=10
        mov R1,#0
+       ldc2 11, cr0, [r1, #4]
        udiv.w R2, R0, R1 
 
        .data