annotate util/test_patterns.txt @ 349:13a6e73b448f

Added test load from label
author Windel Bouwman
date Sat, 08 Mar 2014 16:16:41 +0100
parents 3bb7dcfe5529
children 899ae3aea803
rev   line source
346
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
1
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
2 mov r4, #100
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
3 ===
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
4 mov sp, #0x6000
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
5 ===
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
6 mov r3, sp
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
7 ===
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
8 yield
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
9 ===
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
10 push {r11,r5,r4,lr}
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
11 ===
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
12 pop {r4,r5,r6}
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
13 ===
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
14 sub r4,r5,#23
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
15 blt x
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
16 x:
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
17 mul r4,r5,r2
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
18 ===
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
19 str r9, [r2, #33]
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
20 ===
3bb7dcfe5529 expanded arm target
Windel Bouwman
parents:
diff changeset
21 ldr r5, [r3, #87]
349
13a6e73b448f Added test load from label
Windel Bouwman
parents: 346
diff changeset
22 ===
13a6e73b448f Added test load from label
Windel Bouwman
parents: 346
diff changeset
23 ldr r5, lab1
13a6e73b448f Added test load from label
Windel Bouwman
parents: 346
diff changeset
24 ldr r11, lab1
13a6e73b448f Added test load from label
Windel Bouwman
parents: 346
diff changeset
25 ldr r10, lab1
13a6e73b448f Added test load from label
Windel Bouwman
parents: 346
diff changeset
26 lab1:
13a6e73b448f Added test load from label
Windel Bouwman
parents: 346
diff changeset
27 .word 0x12345566