1# cr16 testcase for bne disp16
2# mach(): cr16
3
4 .include "testutils.inc"
5
6 start
7
8 .global bne
9bne:
10 movw $1, r4
11 movw $2, r5
12 cmpw r4,r5
13 bne test0pass
14test1fail:
15 fail
16
17test0pass:
18 movw $1, r5
19 cmpw r4,r5
20 bne test1fail
21
22 pass
23