Commit | Line | Data |
---|---|---|
fe8aec39 MS |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r |
2 | ;bit\r | |
3 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r | |
4 | .h8300sx\r | |
5 | .text\r | |
6 | _start:\r | |
7 | bset #0x7,r1h ;7071\r | |
8 | bset #0x7,@er1 ;7d107070\r | |
9 | bset #0x7,@0xffffff12:8 ;7f127070\r | |
10 | bset #0x7,@0x1234:16 ;6a1812347070\r | |
11 | bset #0x7,@0x12345678:32 ;6a38123456787070\r | |
12 | \r | |
13 | bset r3h,r1h ;6031\r | |
14 | bset r3h,@er1 ;7d106030\r | |
15 | bset r3h,@0xffffff12:8 ;7f126030\r | |
16 | bset r3h,@0x1234:16 ;6a1812346030\r | |
17 | bset r3h,@0x12345678:32 ;6a38123456786030\r | |
18 | \r | |
19 | bset/eq #0x7,@er1 ;7d107077\r | |
20 | bset/eq #0x7,@0xffffff12:8 ;7f127077\r | |
21 | bset/eq #0x7,@0x1234:16 ;6a1812347077\r | |
22 | bset/eq #0x7,@0x12345678:32 ;6a38123456787077\r | |
23 | \r | |
24 | bset/eq r3h,@er1 ;7d106037\r | |
25 | bset/eq r3h,@0xffffff12:8 ;7f126037\r | |
26 | bset/eq r3h,@0x1234:16 ;6a1812346037\r | |
27 | bset/eq r3h,@0x12345678:32 ;6a38123456786037\r | |
28 | \r | |
29 | bset/ne #0x7,@er1 ;7d107076\r | |
30 | bset/ne #0x7,@0xffffff12:8 ;7f127076\r | |
31 | bset/ne #0x7,@0x1234:16 ;6a1812347076\r | |
32 | bset/ne #0x7,@0x12345678:32 ;6a38123456787076\r | |
33 | \r | |
34 | bset/ne r3h,@er1 ;7d106036\r | |
35 | bset/ne r3h,@0xffffff12:8 ;7f126036\r | |
36 | bset/ne r3h,@0x1234:16 ;6a1812346036\r | |
37 | bset/ne r3h,@0x12345678:32 ;6a38123456786036\r | |
38 | \r | |
39 | bnot #0x7,r1h ;7171\r | |
40 | bnot #0x7,@er1 ;7d107170\r | |
41 | bnot #0x7,@0xffffff12:8 ;7f127170\r | |
42 | bnot #0x7,@0x1234:16 ;6a1812347170\r | |
43 | bnot #0x7,@0x12345678:32 ;6a38123456787170\r | |
44 | \r | |
45 | bnot r3h,r1h ;6131\r | |
46 | bnot r3h,@er1 ;7d106130\r | |
47 | bnot r3h,@0xffffff12:8 ;7f126130\r | |
48 | bnot r3h,@0x1234:16 ;6a1812346130\r | |
49 | bnot r3h,@0x12345678:32 ;6a38123456786130\r | |
50 | \r | |
51 | bclr #0x7,r1h ;7271\r | |
52 | bclr #0x7,@er1 ;7d107270\r | |
53 | bclr #0x7,@0xffffff12:8 ;7f127270\r | |
54 | bclr #0x7,@0x1234:16 ;6a1812347270\r | |
55 | bclr #0x7,@0x12345678:32 ;6a38123456787270\r | |
56 | \r | |
57 | bclr r3h,r1h ;6231\r | |
58 | bclr r3h,@er1 ;7d106230\r | |
59 | bclr r3h,@0xffffff12:8 ;7f126230\r | |
60 | bclr r3h,@0x1234:16 ;6a1812346230\r | |
61 | bclr r3h,@0x12345678:32 ;6a38123456786230\r | |
62 | \r | |
63 | bclr/eq #0x7,@er1 ;7d107277\r | |
64 | bclr/eq #0x7,@0xffffff12:8 ;7f127277\r | |
65 | bclr/eq #0x7,@0x1234:16 ;6a1812347277\r | |
66 | bclr/eq #0x7,@0x12345678:32 ;6a38123456787277\r | |
67 | \r | |
68 | bclr/eq r3h,@er1 ;7d106237\r | |
69 | bclr/eq r3h,@0xffffff12:8 ;7f126237\r | |
70 | bclr/eq r3h,@0x1234:16 ;6a1812346237\r | |
71 | bclr/eq r3h,@0x12345678:32 ;6a38123456786237\r | |
72 | \r | |
73 | bclr/ne #0x7,@er1 ;7d107276\r | |
74 | bclr/ne #0x7,@0xffffff12:8 ;7f127276\r | |
75 | bclr/ne #0x7,@0x1234:16 ;6a1812347276\r | |
76 | bclr/ne #0x7,@0x12345678:32 ;6a38123456787276\r | |
77 | \r | |
78 | bclr/ne r3h,@er1 ;7d106236\r | |
79 | bclr/ne r3h,@0xffffff12:8 ;7f126236\r | |
80 | bclr/ne r3h,@0x1234:16 ;6a1812346236\r | |
81 | bclr/ne r3h,@0x12345678:32 ;6a38123456786236\r | |
82 | \r | |
83 | btst #0x7,r1h ;7371\r | |
84 | btst #0x7,@er1 ;7c107370\r | |
85 | btst #0x7,@0xffffff12:8 ;7e127370\r | |
86 | btst #0x7,@0x1234:16 ;6a1012347370\r | |
87 | btst #0x7,@0x12345678:32 ;6a30123456787370\r | |
88 | \r | |
89 | btst r3h,r1h ;6331\r | |
90 | btst r3h,@er1 ;7c106330\r | |
91 | btst r3h,@0xffffff12:8 ;7e126330\r | |
92 | btst r3h,@0x1234:16 ;6a1012346330\r | |
93 | btst r3h,@0x12345678:32 ;6a30123456786330\r | |
94 | \r | |
95 | bor #0x7,r1h ;7471\r | |
96 | bor #0x7,@er1 ;7c107470\r | |
97 | bor #0x7,@0xffffff12:8 ;7e127470\r | |
98 | bor #0x7,@0x1234:16 ;6a1012347470\r | |
99 | bor #0x7,@0x12345678:32 ;6a30123456787470\r | |
100 | \r | |
101 | bior #0x7,r1h ;74f1\r | |
102 | bior #0x7,@er1 ;7c1074f0\r | |
103 | bior #0x7,@0xffffff12:8 ;7e1274f0\r | |
104 | bior #0x7,@0x1234:16 ;6a10123474f0\r | |
105 | bior #0x7,@0x12345678:32 ;6a301234567874f0\r | |
106 | \r | |
107 | bxor #0x7,r1h ;7571\r | |
108 | bxor #0x7,@er1 ;7c107570\r | |
109 | bxor #0x7,@0xffffff12:8 ;7e127570\r | |
110 | bxor #0x7,@0x1234:16 ;6a1012347570\r | |
111 | bxor #0x7,@0x12345678:32 ;6a30123456787570\r | |
112 | \r | |
113 | bixor #0x7,r1h ;75f1\r | |
114 | bixor #0x7,@er1 ;7c1075f0\r | |
115 | bixor #0x7,@0xffffff12:8 ;7e1275f0\r | |
116 | bixor #0x7,@0x1234:16 ;6a10123475f0\r | |
117 | bixor #0x7,@0x12345678:32 ;6a301234567875f0\r | |
118 | \r | |
119 | band #0x7,r1h ;7671\r | |
120 | band #0x7,@er1 ;7c107670\r | |
121 | band #0x7,@0xffffff12:8 ;7e127670\r | |
122 | band #0x7,@0x1234:16 ;6a1012347670\r | |
123 | band #0x7,@0x12345678:32 ;6a30123456787670\r | |
124 | \r | |
125 | biand #0x7,r1h ;76f1\r | |
126 | biand #0x7,@er1 ;7c1076f0\r | |
127 | biand #0x7,@0xffffff12:8 ;7e1276f0\r | |
128 | biand #0x7,@0x1234:16 ;6a10123476f0\r | |
129 | biand #0x7,@0x12345678:32 ;6a301234567876f0\r | |
130 | \r | |
131 | bld #0x7,r1h ;7771\r | |
132 | bld #0x7,@er1 ;7c107770\r | |
133 | bld #0x7,@0xffffff12:8 ;7e127770\r | |
134 | bld #0x7,@0x1234:16 ;6a1012347770\r | |
135 | bld #0x7,@0x12345678:32 ;6a30123456787770\r | |
136 | \r | |
137 | bild #0x7,r1h ;77f1\r | |
138 | bild #0x7,@er1 ;7c1077f0\r | |
139 | bild #0x7,@0xffffff12:8 ;7e1277f0\r | |
140 | bild #0x7,@0x1234:16 ;6a10123477f0\r | |
141 | bild #0x7,@0x12345678:32 ;6a301234567877f0\r | |
142 | \r | |
143 | bst #0x7,r1h ;6771\r | |
144 | bst #0x7,@er1 ;7d106770\r | |
145 | bst #0x7,@0xffffff12:8 ;7f126770\r | |
146 | bst #0x7,@0x1234:16 ;6a1812346770\r | |
147 | bst #0x7,@0x12345678:32 ;6a38123456786770\r | |
148 | \r | |
149 | bstz #0x7,@er1 ;7d106777\r | |
150 | bstz #0x7,@0xffffff12:8 ;7f126777\r | |
151 | bstz #0x7,@0x1234:16 ;6a1812346777\r | |
152 | bstz #0x7,@0x12345678:32 ;6a38123456786777\r | |
153 | \r | |
154 | bist #0x7,r1h ;67f1\r | |
155 | bist #0x7,@er1 ;7d1067f0\r | |
156 | bist #0x7,@0xffffff12:8 ;7f1267f0\r | |
157 | bist #0x7,@0x1234:16 ;6a18123467f0\r | |
158 | bist #0x7,@0x12345678:32 ;6a381234567867f0\r | |
159 | \r | |
160 | bistz #0x7,@er1 ;7d1067f7\r | |
161 | bistz #0x7,@0xffffff12:8 ;7f1267f7\r | |
162 | bistz #0x7,@0x1234:16 ;6a18123467f7\r | |
163 | bistz #0x7,@0x12345678:32 ;6a381234567867f7\r | |
164 | \r | |
165 | bfld #0x34:8,@er1,r3h ;7c10f334\r | |
166 | bfld #0x34:8,@0xffffff12:8,r3h ;7e12f334\r | |
167 | bfld #0x34:8,@0x1234:16,r3h ;6a101234f334\r | |
168 | bfld #0x34:8,@0x12345678:32,r3h ;6a3012345678f334\r | |
169 | \r | |
170 | bfst r3h,#0x34:8,@er1 ;7d10f334\r | |
171 | bfst r3h,#0x34:8,@0xffffff12:8 ;7f12f334\r | |
172 | bfst r3h,#0x34:8,@0x1234:16 ;6a181234f334\r | |
173 | bfst r3h,#0x34:8,@0x12345678:32 ;6a3812345678f334\r | |
174 | \r | |
175 | .end\r |