Statistics
| Branch: | Revision:

root / tests / tcg / lm32 / test_bne.S @ c09015dd

History | View | Annotate | Download (364 Bytes)

1 d65f0831 Michael Walle
.include "macros.inc"
2 d65f0831 Michael Walle
3 d65f0831 Michael Walle
start
4 d65f0831 Michael Walle
5 d65f0831 Michael Walle
test_name BNE_1
6 d65f0831 Michael Walle
mvi r1, 0
7 d65f0831 Michael Walle
mvi r2, 0
8 d65f0831 Michael Walle
bne r1, r2, 1f
9 d65f0831 Michael Walle
tc_pass
10 d65f0831 Michael Walle
bi 2f
11 d65f0831 Michael Walle
1:
12 d65f0831 Michael Walle
tc_fail
13 d65f0831 Michael Walle
2:
14 d65f0831 Michael Walle
15 d65f0831 Michael Walle
test_name BNE_2
16 d65f0831 Michael Walle
mvi r1, 1
17 d65f0831 Michael Walle
mvi r2, 0
18 d65f0831 Michael Walle
bne r1, r2, 1f
19 d65f0831 Michael Walle
tc_fail
20 d65f0831 Michael Walle
bi 2f
21 d65f0831 Michael Walle
1:
22 d65f0831 Michael Walle
tc_pass
23 d65f0831 Michael Walle
2:
24 d65f0831 Michael Walle
25 d65f0831 Michael Walle
test_name BNE_3
26 d65f0831 Michael Walle
mvi r1, 0
27 d65f0831 Michael Walle
mvi r2, 1
28 d65f0831 Michael Walle
bne r1, r2, 1f
29 d65f0831 Michael Walle
tc_fail
30 d65f0831 Michael Walle
bi 2f
31 d65f0831 Michael Walle
1:
32 d65f0831 Michael Walle
tc_pass
33 d65f0831 Michael Walle
2:
34 d65f0831 Michael Walle
35 d65f0831 Michael Walle
bi 2f
36 d65f0831 Michael Walle
1:
37 d65f0831 Michael Walle
tc_fail
38 d65f0831 Michael Walle
bi 3f
39 d65f0831 Michael Walle
2:
40 d65f0831 Michael Walle
test_name BNE_4
41 d65f0831 Michael Walle
mvi r1, 1
42 d65f0831 Michael Walle
mvi r2, 1
43 d65f0831 Michael Walle
bne r1, r2, 1b
44 d65f0831 Michael Walle
tc_pass
45 d65f0831 Michael Walle
3:
46 d65f0831 Michael Walle
47 d65f0831 Michael Walle
end