repo.or.cz
/
qemu
/
ar7.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
qdev: Fix device_add DRIVER,help to print to monitor
[qemu/ar7.git]
/
tests
/
tcg
/
lm32
/
test_sb.S
blob
b15a89d342a32bbde44b76f4dccf910c33030325
1
.include "macros.inc"
2
3
start
4
5
test_name SB_1
6
load r1 data
7
load r2 0xf0f1f2aa
8
sb (r1+0), r2
9
check_mem data 0xaa000000
10
11
test_name SB_2
12
load r1 data
13
load r2 0xf0f1f2bb
14
sb (r1+1), r2
15
check_mem data 0xaabb0000
16
17
test_name SB_3
18
load r1 data
19
load r2 0xf0f1f2cc
20
sb (r1+-1), r2
21
check_mem data0 0x000000cc
22
23
end
24
25
.data
26
.align 4
27
data0:
28
.byte 0, 0, 0, 0
29
data:
30
.byte 0, 0, 0, 0
31
data1:
32
.byte 0, 0, 0, 0