summaryrefslogtreecommitdiff
path: root/utils/AMS/hacking/test.S
blob: 52f54bdaf6351b7e39b0cd6312fd32a986414cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11

/* This value is filled in by mkamsboot */
originalentry:   .word   0

        /* A delay loop - just to prove we're running */
        mov   r1, #0x500000       /* Approximately 5 seconds */
loop:   subs  r1, r1, #1
        bne   loop

        /* Now branch back to the original firmware's entry point */
        ldr   pc, originalentry