net: cadence_gem: Add support for extended descriptors
[qemu/ar7.git] / tests / tcg / lm32 / test_lw.S
blob996e5f8c88850f18908aafab51a4ba1a8a2a9af8
1 .include "macros.inc"
3 start
5 test_name LW_1
6 load r1 data
7 lw r3, (r1+0)
8 check_r3 0x7e7f7071
10 test_name LW_2
11 load r1 data
12 lw r3, (r1+4)
13 check_r3 0x72737475
15 test_name LW_3
16 load r1 data
17 lw r3, (r1+-4)
18 check_r3 0x7a7b7c7d
20 test_name LW_4
21 load r3 data
22 lw r3, (r3+0)
23 check_r3 0x7e7f7071
25 end
27 .data
28         .align 4
29         .byte 0x7a, 0x7b, 0x7c, 0x7d
30 data:
31         .byte 0x7e, 0x7f, 0x70, 0x71
32         .byte 0x72, 0x73, 0x74, 0x75