Revert SeaBIOS change due to overzealous commit -a
[qemu/mdroth.git] / tests / lm32 / test_cmpgui.S
blob759bb64b3c421efa46f914cd3baf8d0f908b7593
1 .include "macros.inc"
3 start
5 test_name CMPGUI_1
6 mvi r1, 0
7 cmpgui r3, r1, 0
8 check_r3 0
10 test_name CMPGUI_2
11 mvi r1, 0
12 cmpgui r3, r1, 1
13 check_r3 0
15 test_name CMPGUI_3
16 mvi r1, 1
17 cmpgui r3, r1, 0
18 check_r3 1
20 test_name CMPGUI_4
21 mvi r1, 1
22 cmpgui r3, r1, 1
23 check_r3 0
25 test_name CMPGUI_5
26 mvi r1, 0
27 cmpgui r3, r1, 0xffff
28 check_r3 0
30 test_name CMPGUI_6
31 mvi r1, -1
32 cmpgui r3, r1, 0
33 check_r3 1
35 test_name CMPGUI_7
36 mvi r1, -1
37 cmpgui r3, r1, 0xffff
38 check_r3 0
40 test_name CMPGUI_8
41 mvi r3, 0
42 cmpgui r3, r3, 1
43 check_r3 0
45 test_name CMPGUI_9
46 mvi r3, 1
47 cmpgui r3, r3, 0
48 check_r3 1
50 test_name CMPGUI_10
51 mvi r3, 0
52 cmpgui r3, r3, 0
53 check_r3 0
55 end