added thumb assembler example, this is not part of an asm tutorial just
testing the new thumb assembler mods.
This commit is contained in:
18
tas/armstart_source.s
Normal file
18
tas/armstart_source.s
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
.globl _start
|
||||
_start:
|
||||
b reset
|
||||
reset:
|
||||
ldr sp,stack_start
|
||||
ldr r0,thumb_start_add
|
||||
bx r0
|
||||
|
||||
stack_start: .word 0x1000
|
||||
thumb_start_add: .word thumb_start
|
||||
.word 0
|
||||
.word 0
|
||||
|
||||
.thumb
|
||||
.thumb_func
|
||||
thumb_start:
|
||||
b .
|
||||
Reference in New Issue
Block a user