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_orhi.S
blob
78b7600e03fc619b135d574a7e20adfff539ad7b
1
.include "macros.inc"
2
3
start
4
5
test_name ORHI_1
6
mvi r1, 0
7
orhi r3, r1, 0
8
check_r3 0
9
10
test_name ORHI_2
11
mvi r1, 0
12
orhi r3, r1, 1
13
check_r3 0x00010000
14
15
test_name ORHI_3
16
load r1 0x00010000
17
orhi r3, r1, 1
18
check_r3 0x00010000
19
20
test_name ORHI_4
21
mvi r1, 1
22
orhi r3, r1, 0
23
check_r3 1
24
25
test_name ORHI_5
26
load r1 0xaa55aa55
27
orhi r3, r1, 0x55aa
28
check_r3 0xffffaa55
29
30
test_name ORHI_6
31
load r3 0xaa55aa55
32
orhi r3, r3, 0x55aa
33
check_r3 0xffffaa55
34
35
end