1 # Test handling of MIT and Motorola syntax operands
2 # If you change this file, see also op68000.d.
8 | Address register direct
11 | Address register indirect
15 | Address register indirect with postincrement
19 | Address register indirect with predecrement
23 | Address register indirect with displacement
28 | Address register indirect with index (8-bit displacement)
65 | Address register indirect with index (base displacement)
66 tstl %a0@(1000,%d0:w:2)
71 tstl (1000,%a0,%d0.w*2)
73 tstl (1000,%a1.w*2,%a0)
74 tstl 1000(%a0,%d0.w*2)
81 tstl %za1@(1000,%d0:w:2)
83 tstl (1000,%za1,%d0.w*2)
85 tstl (1000,%a1.w*2,%za1)
86 tstl 1000(%za1,%d0.w*2)
90 tstl %a0@(1000,%zd1:w:2)
93 tstl (1000,%a0,%zd1.w*2)
95 tstl (1000,%za1.w*2,%a0)
96 tstl 1000(%a0,%zd1.w*2)
102 | Memory indirect postindexed
103 tstl %a0@(1000)@(2000,%d0:w:2)
104 tstl %a0@(1000)@(%d0:w:2)
105 tstl %a0@(1000)@(2000)
106 tstl @(1000)@(2000,%d0:w:2)
107 tstl @(1000)@(%d0:w:2)
109 tstl %a0@(0)@(2000,%d0:w:2)
110 tstl %a0@(0)@(%d0:w:2)
112 tstl @(0)@(2000,%d0:w:2)
115 tstl ([1000,%a0],%d0:w:2,2000)
116 tstl ([1000,%a0],%d0:w:2)
117 tstl ([1000,%a0],2000)
118 tstl ([1000],%d0:w:2,2000)
119 tstl ([1000],%d0:w:2)
121 tstl ([%a0],%d0:w:2,2000)
124 tstl ([0],%d0:w:2,2000)
128 | Memory indirect preindexed
129 tstl %a0@(1000,%d0:w:2)@(2000)
130 tstl %a0@(1000,%d0:w:2)@(0)
131 tstl @(1000,%d0:w:2)@(2000)
132 tstl @(1000,%d0:w:2)@(0)
133 tstl %a0@(%d0:w:2)@(2000)
134 tstl %a0@(%d0:w:2)@(0)
135 tstl @(%d0:w:2)@(2000)
137 tstl ([1000,%a0,%d0:w:2],2000)
138 tstl ([1000,%d0:w:2,%a0],2000)
139 tstl ([1000,%d0,%a0],2000)
140 tstl ([1000,%a1,%a0],2000)
141 tstl ([1000,%a1:w:2,%a0],2000)
142 tstl ([1000,%a0,%d0:w:2])
143 tstl ([1000,%d0,%a0])
144 tstl ([1000,%d0:w:2],2000)
145 tstl ([1000,%d0:w:2])
146 tstl ([%a0,%d0:w:2],2000)
147 tstl ([%d0,%a0],2000)
150 tstl ([%d0:w:2],2000)
153 | Program counter indirect with displacement
159 | Program counter indirect with index (8-bit displacement)
172 | Program counter indirect with index (base displacement)
173 pea %pc@(1000,%d0:w:2)
175 pea (1000,%pc,%d0.w*2)
177 pea (1000,%a1.w*2,%pc)
179 pea 1000(%pc,%d0.w*2)
184 pea %zpc@(1000,%d0:w:2)
186 pea (1000,%zpc,%d0.w*2)
188 pea (1000,%a1.w*2,%zpc)
190 pea 1000(%zpc,%d0.w*2)
196 | Program counter memory indirect postindexed
197 pea %pc@(1000)@(2000,%d0:w:2)
198 pea %pc@(1000)@(%d0:w:2)
199 pea %pc@(1000)@(2000)
200 pea %pc@(0)@(2000,%d0:w:2)
201 pea %pc@(0)@(%d0:w:2)
203 pea ([1000,%pc],%d0:w:2,2000)
204 pea ([1000,%pc],%d0:w:2)
205 pea ([1000,%pc],2000)
206 pea ([%pc],%d0:w:2,2000)
209 pea %zpc@(1000)@(2000,%d0:w:2)
210 pea %zpc@(1000)@(%d0:w:2)
211 pea %zpc@(1000)@(2000)
212 pea %zpc@(0)@(2000,%d0:w:2)
213 pea %zpc@(0)@(%d0:w:2)
215 pea ([1000,%zpc],%d0:w:2,2000)
216 pea ([1000,%zpc],%d0:w:2)
217 pea ([1000,%zpc],2000)
218 pea ([%zpc],%d0:w:2,2000)
222 | Program counter memory indirect preindexed
223 pea %pc@(1000,%d0:w:2)@(2000)
224 pea %pc@(1000,%d0:w:2)@(0)
225 pea %pc@(%d0:w:2)@(2000)
226 pea %pc@(%d0:w:2)@(0)
227 pea ([1000,%pc,%d0:w:2],2000)
228 pea ([1000,%d0:w:2,%pc],2000)
229 pea ([1000,%d0,%pc],2000)
230 pea ([1000,%a1,%pc],2000)
231 pea ([1000,%pc,%a1],2000)
232 pea ([1000,%a1:w:2,%pc],2000)
233 pea ([1000,%pc,%d0:w:2])
236 pea ([%pc,%d0:w:2],2000)
240 pea %zpc@(1000,%d0:w:2)@(2000)
241 pea %zpc@(1000,%d0:w:2)@(0)
242 pea %zpc@(%d0:w:2)@(2000)
243 pea %zpc@(%d0:w:2)@(0)
244 pea ([1000,%zpc,%d0:w:2],2000)
245 pea ([1000,%d0:w:2,%zpc],2000)
246 pea ([1000,%d0,%zpc],2000)
247 pea ([1000,%a1,%zpc],2000)
248 pea ([1000,%zpc,%a1],2000)
249 pea ([1000,%a1:w:2,%zpc],2000)
250 pea ([1000,%zpc,%d0:w:2])
251 pea ([1000,%d0,%zpc])
252 pea ([1000,%a1,%zpc])
253 pea ([%zpc,%d0:w:2],2000)
254 pea ([%zpc,%a0],2000)