]>
Commit | Line | Data |
---|---|---|
c906108c SS |
1 | # m32r testcase for bne $src1,$src2,$disp16 |
2 | # mach(): m32r m32rx | |
3 | ||
4 | .include "testutils.inc" | |
5 | ||
6 | start | |
7 | ||
8 | .global bne | |
9 | bne: | |
10 | mvi_h_gr r4, 1 | |
11 | mvi_h_gr r5, 2 | |
12 | bne r4, r5, test0pass | |
13 | test1fail: | |
14 | fail | |
15 | ||
16 | test0pass: | |
17 | mvi_h_gr r4, 2 | |
18 | bne r4, r5, test1fail | |
19 | ||
20 | pass |