repo.or.cz
/
qemu
/
mdroth.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of git://git.qemu.org/qemu
[qemu/mdroth.git]
/
tests
/
lm32
/
test_lw.S
blob
f8c919d2b89d056187f5e3db23793dfee7057551
1
.include "macros.inc"
2
3
start
4
5
test_name LW_1
6
load r1 data
7
lw r3, (r1+0)
8
check_r3 0x7e7f7071
9
10
test_name LW_2
11
lw r3, (r1+4)
12
check_r3 0x72737475
13
14
test_name LW_3
15
lw r3, (r1+-4)
16
check_r3 0x7a7b7c7d
17
18
test_name LW_4
19
load r3 data
20
lw r3, (r3+0)
21
check_r3 0x7e7f7071
22
23
end
24
25
.data
26
.align 4
27
.byte 0x7a, 0x7b, 0x7c, 0x7d
28
data:
29
.byte 0x7e, 0x7f, 0x70, 0x71
30
.byte 0x72, 0x73, 0x74, 0x75