parent
7bac7c2378
commit
bd56db315f
@ -0,0 +1,8 @@
|
||||
ENTRY(_Reset)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x0;
|
||||
.text : { startup.o (.vector_table) *(.text) }
|
||||
. = ALIGN(8);
|
||||
}
|
@ -1,5 +1,17 @@
|
||||
str1: .word 0xDEADBEEF
|
||||
ldr r2,str1
|
||||
b .
|
||||
.section .vector_table, "x"
|
||||
.global _Reset
|
||||
_Reset:
|
||||
b Reset_Handler
|
||||
b . /* 0x4 Undefined Instruction */
|
||||
b . /* 0x8 Software Interrupt */
|
||||
b . /* 0xC Prefetch Abort */
|
||||
b . /* 0x10 Data Abort */
|
||||
b . /* 0x14 Reserved */
|
||||
b . /* 0x18 IRQ */
|
||||
b . /* 0x1C FIQ */
|
||||
|
||||
|
||||
.section .text
|
||||
Reset_Handler:
|
||||
ldr r2, str1
|
||||
b .
|
||||
str1: .word 0xDEADBEEF
|
||||
|
Loading…
Reference in new issue