repo.or.cz
/
qemu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
use win32 timer queues
[qemu.git]
/
tests
/
lm32
/
test_lb.S
blob
f84d21ead9eb7624fc5db06d3c7554e5e87ff7fa
1
.include "macros.inc"
2
3
start
4
5
test_name LB_1
6
load r1 data
7
lb r3, (r1+0)
8
check_r3 0x7e
9
10
test_name LB_2
11
lb r3, (r1+1)
12
check_r3 0x7f
13
14
test_name LB_3
15
lb r3, (r1+-1)
16
check_r3 0x7d
17
18
test_name LB_4
19
load r1 data_msb
20
lb r3, (r1+0)
21
check_r3 0xfffffffe
22
23
test_name LB_5
24
lb r3, (r1+1)
25
check_r3 0xffffffff
26
27
test_name LB_6
28
lb r3, (r1+-1)
29
check_r3 0xfffffffd
30
31
test_name LB_7
32
load r3 data
33
lb r3, (r3+0)
34
check_r3 0x7e
35
36
end
37
38
.data
39
.align 4
40
.byte 0x7a, 0x7b, 0x7c, 0x7d
41
data:
42
.byte 0x7e, 0x7f, 0x70, 0x71
43
.byte 0xfa, 0xfb, 0xfc, 0xfd
44
data_msb:
45
.byte 0xfe, 0xff, 0xf0, 0xf1