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_cmpei.S
blob
c3d3566ad33fed3a403cab79dc26630f83bbb002
1
.include "macros.inc"
2
3
start
4
5
test_name CMPEI_1
6
mvi r1, 0
7
cmpei r3, r1, 0
8
check_r3 1
9
10
test_name CMPEI_2
11
mvi r1, 0
12
cmpei r3, r1, 1
13
check_r3 0
14
15
test_name CMPEI_3
16
mvi r1, 1
17
cmpei r3, r1, 0
18
check_r3 0
19
20
test_name CMPEI_4
21
load r1 0xffffffff
22
cmpei r3, r1, -1
23
check_r3 1
24
25
test_name CMPEI_5
26
mvi r3, 0
27
cmpei r3, r3, 0
28
check_r3 1
29
30
test_name CMPEI_6
31
mvi r3, 0
32
cmpei r3, r3, 1
33
check_r3 0
34
35
end