1 # Test handling of MIT and Motorola syntax operands
2 # If you change this file, see also op68000.d.
9 | Address register direct
12 | Address register indirect
16 | Address register indirect with postincrement
20 | Address register indirect with predecrement
24 | Address register indirect with displacement
29 | Address register indirect with index (8-bit displacement)
66 | Address register indirect with index (base displacement)
67 tstl %a0@(1000,%d0:w:2)
72 tstl (1000,%a0,%d0.w*2)
74 tstl (1000,%a1.w*2,%a0)
75 tstl 1000(%a0,%d0.w*2)
82 tstl %za1@(1000,%d0:w:2)
84 tstl (1000,%za1,%d0.w*2)
86 tstl (1000,%a1.w*2,%za1)
87 tstl 1000(%za1,%d0.w*2)
91 tstl %a0@(1000,%zd1:w:2)
94 tstl (1000,%a0,%zd1.w*2)
96 tstl (1000,%za1.w*2,%a0)
97 tstl 1000(%a0,%zd1.w*2)
103 | Memory indirect postindexed
104 tstl %a0@(1000)@(2000,%d0:w:2)
105 tstl %a0@(1000)@(%d0:w:2)
106 tstl %a0@(1000)@(2000)
107 tstl @(1000)@(2000,%d0:w:2)
108 tstl @(1000)@(%d0:w:2)
110 tstl %a0@(0)@(2000,%d0:w:2)
111 tstl %a0@(0)@(%d0:w:2)
113 tstl @(0)@(2000,%d0:w:2)
116 tstl ([1000,%a0],%d0:w:2,2000)
117 tstl ([1000,%a0],%d0:w:2)
118 tstl ([1000,%a0],2000)
119 tstl ([1000],%d0:w:2,2000)
120 tstl ([1000],%d0:w:2)
122 tstl ([%a0],%d0:w:2,2000)
125 tstl ([0],%d0:w:2,2000)
129 | Memory indirect preindexed
130 tstl %a0@(1000,%d0:w:2)@(2000)
131 tstl %a0@(1000,%d0:w:2)@(0)
132 tstl @(1000,%d0:w:2)@(2000)
133 tstl @(1000,%d0:w:2)@(0)
134 tstl %a0@(%d0:w:2)@(2000)
135 tstl %a0@(%d0:w:2)@(0)
136 tstl @(%d0:w:2)@(2000)
138 tstl ([1000,%a0,%d0:w:2],2000)
139 tstl ([1000,%d0:w:2,%a0],2000)
140 tstl ([1000,%d0,%a0],2000)
141 tstl ([1000,%a1,%a0],2000)
142 tstl ([1000,%a1:w:2,%a0],2000)
143 tstl ([1000,%a0,%d0:w:2])
144 tstl ([1000,%d0,%a0])
145 tstl ([1000,%d0:w:2],2000)
146 tstl ([1000,%d0:w:2])
147 tstl ([%a0,%d0:w:2],2000)
148 tstl ([%d0,%a0],2000)
151 tstl ([%d0:w:2],2000)
154 | Program counter indirect with displacement
160 | Program counter indirect with index (8-bit displacement)
173 | Program counter indirect with index (base displacement)
174 tstl %pc@(1000,%d0:w:2)
176 tstl (1000,%pc,%d0.w*2)
178 tstl (1000,%a1.w*2,%pc)
180 tstl 1000(%pc,%d0.w*2)
185 tstl %zpc@(1000,%d0:w:2)
187 tstl (1000,%zpc,%d0.w*2)
189 tstl (1000,%a1.w*2,%zpc)
191 tstl 1000(%zpc,%d0.w*2)
197 | Program counter memory indirect postindexed
198 tstl %pc@(1000)@(2000,%d0:w:2)
199 tstl %pc@(1000)@(%d0:w:2)
200 tstl %pc@(1000)@(2000)
201 tstl %pc@(0)@(2000,%d0:w:2)
202 tstl %pc@(0)@(%d0:w:2)
204 tstl ([1000,%pc],%d0:w:2,2000)
205 tstl ([1000,%pc],%d0:w:2)
206 tstl ([1000,%pc],2000)
207 tstl ([%pc],%d0:w:2,2000)
210 tstl %zpc@(1000)@(2000,%d0:w:2)
211 tstl %zpc@(1000)@(%d0:w:2)
212 tstl %zpc@(1000)@(2000)
213 tstl %zpc@(0)@(2000,%d0:w:2)
214 tstl %zpc@(0)@(%d0:w:2)
216 tstl ([1000,%zpc],%d0:w:2,2000)
217 tstl ([1000,%zpc],%d0:w:2)
218 tstl ([1000,%zpc],2000)
219 tstl ([%zpc],%d0:w:2,2000)
220 tstl ([%zpc],%d0:w:2)
223 | Program counter memory indirect preindexed
224 tstl %pc@(1000,%d0:w:2)@(2000)
225 tstl %pc@(1000,%d0:w:2)@(0)
226 tstl %pc@(%d0:w:2)@(2000)
227 tstl %pc@(%d0:w:2)@(0)
228 tstl ([1000,%pc,%d0:w:2],2000)
229 tstl ([1000,%d0:w:2,%pc],2000)
230 tstl ([1000,%d0,%pc],2000)
231 tstl ([1000,%a1,%pc],2000)
232 tstl ([1000,%pc,%a1],2000)
233 tstl ([1000,%a1:w:2,%pc],2000)
234 tstl ([1000,%pc,%d0:w:2])
235 tstl ([1000,%d0,%pc])
236 tstl ([1000,%a1,%pc])
237 tstl ([%pc,%d0:w:2],2000)
238 tstl ([%pc,%a0],2000)
241 tstl %zpc@(1000,%d0:w:2)@(2000)
242 tstl %zpc@(1000,%d0:w:2)@(0)
243 tstl %zpc@(%d0:w:2)@(2000)
244 tstl %zpc@(%d0:w:2)@(0)
245 tstl ([1000,%zpc,%d0:w:2],2000)
246 tstl ([1000,%d0:w:2,%zpc],2000)
247 tstl ([1000,%d0,%zpc],2000)
248 tstl ([1000,%a1,%zpc],2000)
249 tstl ([1000,%zpc,%a1],2000)
250 tstl ([1000,%a1:w:2,%zpc],2000)
251 tstl ([1000,%zpc,%d0:w:2])
252 tstl ([1000,%d0,%zpc])
253 tstl ([1000,%a1,%zpc])
254 tstl ([%zpc,%d0:w:2],2000)
255 tstl ([%zpc,%a0],2000)
256 tstl ([%zpc,%d0:w:2])