repo.or.cz
/
qemu
/
kevin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
trace-events: Fix typos (found by codespell)
[qemu/kevin.git]
/
tests
/
tcg
/
lm32
/
test_lh.S
blob
397996bddde4a2399a61e16a4b1025ecdfee855d
1
.include "macros.inc"
2
3
start
4
5
test_name LH_1
6
load r1 data
7
lh r3, (r1+0)
8
check_r3 0x7e7f
9
10
test_name LH_2
11
load r1 data
12
lh r3, (r1+2)
13
check_r3 0x7071
14
15
test_name LH_3
16
load r1 data
17
lh r3, (r1+-2)
18
check_r3 0x7c7d
19
20
test_name LH_4
21
load r1 data_msb
22
lh r3, (r1+0)
23
check_r3 0xfffffeff
24
25
test_name LH_5
26
load r1 data_msb
27
lh r3, (r1+2)
28
check_r3 0xfffff0f1
29
30
test_name LH_6
31
load r1 data_msb
32
lh r3, (r1+-2)
33
check_r3 0xfffffcfd
34
35
test_name LH_7
36
load r3 data
37
lh r3, (r3+0)
38
check_r3 0x7e7f
39
40
end
41
42
.data
43
.align 4
44
.byte 0x7a, 0x7b, 0x7c, 0x7d
45
data:
46
.byte 0x7e, 0x7f, 0x70, 0x71
47
.byte 0xfa, 0xfb, 0xfc, 0xfd
48
data_msb:
49
.byte 0xfe, 0xff, 0xf0, 0xf1