OpenCores
URL https://opencores.org/ocsvn/zap/zap/trunk

Subversion Repositories zap

[/] [zap/] [trunk/] [src/] [ts/] [thumb_test/] [thumb.s] - Blame information for rev 43

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 37 Revanth
.text
2
.global _Reset
3 43 Revanth
.set SP_INIT, 4000
4
.set R0_FINAL_VALUE, 0xFFFFFFFF
5 37 Revanth
 
6
_Reset:
7 43 Revanth
ldr sp, =SP_INIT
8 37 Revanth
ldr r0, =myThumbFunction+1
9
mov lr, pc
10 43 Revanth
bx r0 // Jump to Thumb code
11
ldr r0, =R0_FINAL_VALUE
12 37 Revanth
here: b here
13
 
14
.thumb_func
15
myThumbFunction:
16
 
17
mov r0, #10
18
mov r1, #10
19
mov r2, #10
20
mov r3, #10
21
mov r4, #10
22
mov r5, #10
23
mov r6, #10
24
mov r7, #10
25
 
26
bx lr
27
 

powered by: WebSVN 2.1.0

© copyright 1999-2022 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.