repo.or.cz
/
qemu
/
lumag.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
migration: move some declarations to migration.h
[qemu/lumag.git]
/
tests
/
lm32
/
test_bne.S
blob
871a006755cb0d7f1478af067dd22aa2b1dfc48e
1
.include "macros.inc"
2
3
start
4
5
test_name BNE_1
6
mvi r1, 0
7
mvi r2, 0
8
bne r1, r2, 1f
9
tc_pass
10
bi 2f
11
1:
12
tc_fail
13
2:
14
15
test_name BNE_2
16
mvi r1, 1
17
mvi r2, 0
18
bne r1, r2, 1f
19
tc_fail
20
bi 2f
21
1:
22
tc_pass
23
2:
24
25
test_name BNE_3
26
mvi r1, 0
27
mvi r2, 1
28
bne r1, r2, 1f
29
tc_fail
30
bi 2f
31
1:
32
tc_pass
33
2:
34
35
bi 2f
36
1:
37
tc_fail
38
bi 3f
39
2:
40
test_name BNE_4
41
mvi r1, 1
42
mvi r2, 1
43
bne r1, r2, 1b
44
tc_pass
45
3:
46
47
end
48