Commit | Line | Data |
---|---|---|
a0defb2e AH |
1 | ; load/store tests |
2 | ||
3 | .data | |
4 | ||
5 | ldw_data: | |
6 | .word 0xbabeface | |
7 | ||
8 | .text | |
9 | ||
10 | ld_text: | |
11 | ld r4, r3 | |
12 | ld r3, #8 | |
13 | ld r5, #ld_text | |
14 | ldh r6, #ldh_text | |
15 | ldh r4, #4000 | |
16 | ldh r5, #0x8000 | |
17 | ldh r5, #-5 | |
18 | ldh r5, #-0x8000 | |
19 | ldh r0, #0xffff | |
20 | ldh_text: | |
21 | ldw r9, #30233000 | |
22 | ldw r3, #ldw_data | |
23 | ldb r3, @[r9+r2] | |
24 | ldb @[r9+r3], r5 ; store | |
25 | ldb r3, @[r8+6] | |
26 | ldb @[r8+7], r3 ; store | |
27 | ldw r9, @[r14+23] | |
28 | ldw @[r14+10], r9 ; store |