repo.or.cz
/
qemu
/
mdroth.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of git://git.qemu.org/qemu
[qemu/mdroth.git]
/
tests
/
lm32
/
test_xnori.S
blob
9d9c3c6780e99e08b7d1881757fb6473d03446dc
1
.include "macros.inc"
2
3
start
4
5
test_name XNORI_1
6
mvi r1, 0
7
xnori r3, r1, 0
8
check_r3 0xffffffff
9
10
test_name XNORI_2
11
mvi r1, 0
12
xnori r3, r1, 1
13
check_r3 0xfffffffe
14
15
test_name XNORI_3
16
mvi r1, 1
17
xnori r3, r1, 1
18
check_r3 0xffffffff
19
20
test_name XNORI_4
21
mvi r1, 1
22
xnori r3, r1, 0
23
check_r3 0xfffffffe
24
25
test_name XNORI_5
26
load r1 0xaa55aa55
27
xnori r3, r1, 0x5555
28
check_r3 0x55aa00ff
29
30
test_name XNORI_6
31
load r3 0xaa55aa55
32
xnori r3, r3, 0x5555
33
check_r3 0x55aa00ff
34
35
end