added thumb assembler example, this is not part of an asm tutorial just

testing the new thumb assembler mods.
This commit is contained in:
David Welch
2012-06-15 13:38:37 -04:00
parent 794354527d
commit ec4a2220f8
7 changed files with 425 additions and 211 deletions

18
tas/armstart_source.s Normal file
View 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 .