]>
Commit | Line | Data |
---|---|---|
d65f0831 MW |
1 | .include "macros.inc" |
2 | ||
3 | start | |
4 | ||
5 | test_name BGE_1 | |
6 | mvi r1, 0 | |
7 | mvi r2, 0 | |
8 | bge r1, r2, 1f | |
9 | tc_fail | |
10 | bi 2f | |
11 | 1: | |
12 | tc_pass | |
13 | 2: | |
14 | ||
15 | test_name BGE_2 | |
16 | mvi r1, 1 | |
17 | mvi r2, 0 | |
18 | bge r1, r2, 1f | |
19 | tc_fail | |
20 | bi 2f | |
21 | 1: | |
22 | tc_pass | |
23 | 2: | |
24 | ||
25 | test_name BGE_3 | |
26 | mvi r1, 0 | |
27 | mvi r2, 1 | |
28 | bge r1, r2, 1f | |
29 | tc_pass | |
30 | bi 2f | |
31 | 1: | |
32 | tc_fail | |
33 | 2: | |
34 | ||
35 | test_name BGE_4 | |
36 | mvi r1, 0 | |
37 | mvi r2, -1 | |
38 | bge r1, r2, 1f | |
39 | tc_fail | |
40 | bi 2f | |
41 | 1: | |
42 | tc_pass | |
43 | 2: | |
44 | ||
45 | test_name BGE_5 | |
46 | mvi r1, -1 | |
47 | mvi r2, 0 | |
48 | bge r1, r2, 1f | |
49 | tc_pass | |
50 | bi 2f | |
51 | 1: | |
52 | tc_fail | |
53 | 2: | |
54 | ||
55 | test_name BGE_6 | |
56 | mvi r1, -1 | |
57 | mvi r2, -1 | |
58 | bge r1, r2, 1f | |
59 | tc_fail | |
60 | bi 2f | |
61 | 1: | |
62 | tc_pass | |
63 | 2: | |
64 | ||
65 | bi 2f | |
66 | 1: | |
67 | tc_pass | |
68 | bi 3f | |
69 | 2: | |
70 | test_name BGE_7 | |
71 | mvi r1, 1 | |
72 | mvi r2, 0 | |
73 | bge r1, r2, 1b | |
74 | tc_fail | |
75 | 3: | |
76 | ||
77 | end | |
78 |