Statistics
| Branch: | Revision:

root / tests / lm32 / test_cmpnei.S @ d65f0831

History | View | Annotate | Download (392 Bytes)

1
.include "macros.inc"
2

    
3
start
4

    
5
test_name CMPNEI_1
6
mvi r1, 0
7
cmpnei r3, r1, 0
8
check_r3 0
9

    
10
test_name CMPNEI_2
11
mvi r1, 0
12
cmpnei r3, r1, 1
13
check_r3 1
14

    
15
test_name CMPNEI_3
16
mvi r1, 1
17
cmpnei r3, r1, 0
18
check_r3 1
19

    
20
test_name CMPNEI_4
21
load r1 0xffffffff
22
cmpnei r3, r1, -1
23
check_r3 0
24

    
25
test_name CMPNEI_5
26
mvi r3, 0
27
cmpnei r3, r3, 0
28
check_r3 0
29

    
30
test_name CMPNEI_6
31
mvi r3, 0
32
cmpnei r3, r3, 1
33
check_r3 1
34

    
35
end