Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / cris / ccr.s
1 ; Flag settings; clearf, setf
2
3  .text
4  .syntax no_register_prefix
5 start:
6  nop                    ; So we get it tested too -- and it makes the
7                         ; size of the code a 32-bit multiple, so
8                         ; the end of disassembly does not show zeros.
9  ax
10  setf   deixnzvc        ; old names
11  clearf deixnzvc        ; old names
12  ei
13  di
14  setf   dxnc            ; old names
15  clearf dxnc            ; old names
16  setf                   ; empty list
17  clearf                 ; empty list
18 ; For each flag.  Note that the disassembly will show macros for
19 ; some.
20  setf   c
21  clearf c
22  setf   v
23  clearf v
24  setf   z
25  clearf z
26  setf   n
27  clearf n
28  setf   x
29  clearf x
30  setf   i
31  clearf i
32  setf   e
33  clearf e
34  setf   d
35  clearf d
36 ; Two from same group, and switch order.
37  clearf vc
38  setf vc
39  clearf ix
40  setf ix
41  clearf cv
42  setf cv
43  clearf xi
44  setf xi
45 ; Two from different groups, and switch order.
46  clearf in
47  setf   in
48  clearf ni
49  setf   ni
50 ; Four in same group, and switch order.
51  clearf nvxc
52  setf nvxc
53  clearf vncx
54  setf vncx
55  clearf dxei
56  setf dxei
57  clearf xide
58  setf xide
59 ; Four in different groups, and switch order.
60  clearf exnv
61  setf exnv
62  clearf xvne
63  setf xvne
64 ; FIXME: Put tests for new flag-names here, (not above.
65 ; The new names in ETRAX 100, just some assortment of the above.
66  setf   mbixnzvc
67  clearf bmixnzvc
68  setf   b
69  clearf b
70  setf   m
71  clearf m
72  clearf mxbi
73  setf dxbi
74  clearf ximb
75  setf ximb
76  clearf bxnv
77  setf bxnv
78  clearf xvnb
79  setf xvnb
80 end: