mirror of
https://github.com/Proxmark/proxmark3.git
synced 2024-11-15 05:05:02 +08:00
6658905f18
It is identical to the popular 20081211, with the doob addition (20090301), a linux client, and two additional commands for LF analysis. Let me know if you find issues here!
38 lines
839 B
ArmAsm
38 lines
839 B
ArmAsm
.extern CopyBootToRAM
|
|
|
|
.text
|
|
.code 32
|
|
.align 0
|
|
|
|
.global start
|
|
start:
|
|
b Reset
|
|
b UndefinedInstruction
|
|
b SoftwareInterrupt
|
|
b PrefetchAbort
|
|
b DataAbort
|
|
b Reserved
|
|
b Irq
|
|
b Fiq
|
|
|
|
Reset:
|
|
ldr sp, = 0x0020FFF8 @ initialize stack pointer to top of RAM
|
|
bl CopyBootToRAM @ copy bootloader to RAM (in case the
|
|
@ user re-flashes the bootloader)
|
|
ldr r3, = 0x00200000 @ start address of RAM bootloader
|
|
bx r3 @ jump to it
|
|
|
|
Fiq:
|
|
b Fiq
|
|
UndefinedInstruction:
|
|
b UndefinedInstruction
|
|
SoftwareInterrupt:
|
|
b SoftwareInterrupt
|
|
PrefetchAbort:
|
|
b PrefetchAbort
|
|
DataAbort:
|
|
b DataAbort
|
|
Reserved:
|
|
b Reserved
|
|
Irq:
|
|
b Irq
|