]> git.zerfleddert.de Git - proxmark3-svn/blame - bootrom/flash-reset.s
Move most rules to Makefile.common
[proxmark3-svn] / bootrom / flash-reset.s
CommitLineData
6658905f 1.extern CopyBootToRAM\r
2 \r
3.text\r
4.code 32\r
5.align 0\r
6\r
7.global start\r
8start:\r
9 b Reset\r
10 b UndefinedInstruction\r
11 b SoftwareInterrupt\r
12 b PrefetchAbort\r
13 b DataAbort\r
14 b Reserved\r
15 b Irq\r
16 b Fiq\r
17\r
18Reset:\r
19 ldr sp, = 0x0020FFF8 @ initialize stack pointer to top of RAM\r
20 bl CopyBootToRAM @ copy bootloader to RAM (in case the\r
21 @ user re-flashes the bootloader)\r
22 ldr r3, = 0x00200000 @ start address of RAM bootloader\r
23 bx r3 @ jump to it\r
24\r
25Fiq:\r
26 b Fiq\r
27UndefinedInstruction:\r
28 b UndefinedInstruction\r
29SoftwareInterrupt:\r
30 b SoftwareInterrupt\r
31PrefetchAbort:\r
32 b PrefetchAbort\r
33DataAbort:\r
34 b DataAbort\r
35Reserved:\r
36 b Reserved\r
37Irq:\r
38 b Irq\r
Impressum, Datenschutz