repo.or.cz
/
qemu
/
aliguori.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix event fallout in grlib_apbuart.c
[qemu/aliguori.git]
/
tests
/
lm32
/
test_sb.S
blob
89e39d621d66296a7ae3cb8f6e61872454c0f05e
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 r2 0xf0f1f2bb
13
sb (r1+1), r2
14
check_mem data 0xaabb0000
15
16
test_name SB_3
17
load r2 0xf0f1f2cc
18
sb (r1+-1), r2
19
check_mem data0 0x000000cc
20
21
end
22
23
.data
24
.align 4
25
data0:
26
.byte 0, 0, 0, 0
27
data:
28
.byte 0, 0, 0, 0
29
data1:
30
.byte 0, 0, 0, 0