repo.or.cz
/
qemu
/
pbrook.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
hw/omap1.c: Add fallthrough markers and breaks
[qemu/pbrook.git]
/
tests
/
tcg
/
lm32
/
test_xori.S
blob
2051699f1204255825bec637f7bfe7d8ca5ac4ba
1
.include "macros.inc"
2
3
start
4
5
test_name XORI_1
6
mvi r1, 0
7
xori r3, r1, 0
8
check_r3 0
9
10
test_name XORI_2
11
mvi r1, 0
12
xori r3, r1, 1
13
check_r3 1
14
15
test_name XORI_3
16
mvi r1, 1
17
xori r3, r1, 1
18
check_r3 0
19
20
test_name XORI_4
21
mvi r1, 1
22
xori r3, r1, 0
23
check_r3 1
24
25
test_name XORI_5
26
load r1 0xaa55aa55
27
xori r3, r1, 0x5555
28
check_r3 0xaa55ff00
29
30
test_name XORI_6
31
load r3 0xaa55aa55
32
xori r3, r3, 0x5555
33
check_r3 0xaa55ff00
34
35
end