blob: 996e5f8c88850f18908aafab51a4ba1a8a2a9af8 [file] [log] [blame]
Michael Walled65f0832011-02-17 23:45:16 +01001.include "macros.inc"
2
3start
4
5test_name LW_1
6load r1 data
7lw r3, (r1+0)
8check_r3 0x7e7f7071
9
10test_name LW_2
Michael Wallea946ce82014-04-22 20:18:41 +020011load r1 data
Michael Walled65f0832011-02-17 23:45:16 +010012lw r3, (r1+4)
13check_r3 0x72737475
14
15test_name LW_3
Michael Wallea946ce82014-04-22 20:18:41 +020016load r1 data
Michael Walled65f0832011-02-17 23:45:16 +010017lw r3, (r1+-4)
18check_r3 0x7a7b7c7d
19
20test_name LW_4
21load r3 data
22lw r3, (r3+0)
23check_r3 0x7e7f7071
24
25end
26
27.data
28 .align 4
29 .byte 0x7a, 0x7b, 0x7c, 0x7d
30data:
31 .byte 0x7e, 0x7f, 0x70, 0x71
32 .byte 0x72, 0x73, 0x74, 0x75