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