OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [h8300/] [t05_cmp.exp] - Blame information for rev 156

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
#
2
# Some h8300sx tests -- t05_cmp
3
#
4
 
5
proc do_t05_cmp_test {} {
6
    set testname "t05_cmp.s -- h8sx tests"
7
 
8
    gas_start "t05_cmp.s" "-al"
9
 
10
    # Check each instruction bit pattern to verify it got assembled correctly.
11
 
12
    set x 0
13
    expect {
14
        -re ".*   7 0000 7C350120" { set x [expr $x+1]; exp_continue; }
15
        -re ".*   8 0004 7C353120" { set x [expr $x+1]; exp_continue; }
16
        -re ".*   9 0008 7C35B120" { set x [expr $x+1]; exp_continue; }
17
        -re ".*  10 000c 7C358120" { set x [expr $x+1]; exp_continue; }
18
        -re ".*  11 0010 7C35A120" { set x [expr $x+1]; exp_continue; }
19
        -re ".*  12 0014 7C359120" { set x [expr $x+1]; exp_continue; }
20
        -re ".*  13 0018 7C35C120" { set x [expr $x+1]; exp_continue; }
21
        -re ".*  13      9ABC" { set x [expr $x+1]; exp_continue; }
22
        -re ".*  14 001e 7C35C920" { set x [expr $x+1]; exp_continue; }
23
        -re ".*  14      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
24
        -re ".*  15 0026 7C35D220" { set x [expr $x+1]; exp_continue; }
25
        -re ".*  15      9ABC" { set x [expr $x+1]; exp_continue; }
26
        -re ".*  16 002c 7C35E220" { set x [expr $x+1]; exp_continue; }
27
        -re ".*  16      9ABC" { set x [expr $x+1]; exp_continue; }
28
        -re ".*  17 0032 7C35F220" { set x [expr $x+1]; exp_continue; }
29
        -re ".*  17      9ABC" { set x [expr $x+1]; exp_continue; }
30
        -re ".*  18 0038 7C35DA20" { set x [expr $x+1]; exp_continue; }
31
        -re ".*  18      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
32
        -re ".*  19 0040 7C35EA20" { set x [expr $x+1]; exp_continue; }
33
        -re ".*  19      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
34
        -re ".*  20 0048 7C35FA20" { set x [expr $x+1]; exp_continue; }
35
        -re ".*  20      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
36
        -re ".*  21 0050 7C354020" { set x [expr $x+1]; exp_continue; }
37
        -re ".*  21      9ABC" { set x [expr $x+1]; exp_continue; }
38
        -re ".*  22 0056 7C354820" { set x [expr $x+1]; exp_continue; }
39
        -re ".*  22      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
40
        -re ".*  23              " {
41
            if [expr $x == 26] then {
42
                pass "$testname: cmp.b @er3, ..."
43
            } else {
44
                fail "$testname: cmp.b @er3, ... ($x)"
45
            }
46
        }
47
        default { fail "$testname: cmp.b @er3, ... ($x)" }
48
    }
49
 
50
    set x 0
51
    expect {
52
        -re ".*  24 005e 01776C3C" { set x [expr $x+1]; exp_continue; }
53
        -re ".*  24      0120" { set x [expr $x+1]; exp_continue; }
54
        -re ".*  25 0064 01776C3C" { set x [expr $x+1]; exp_continue; }
55
        -re ".*  25      3120" { set x [expr $x+1]; exp_continue; }
56
        -re ".*  26 006a 01776C3C" { set x [expr $x+1]; exp_continue; }
57
        -re ".*  26      B120" { set x [expr $x+1]; exp_continue; }
58
        -re ".*  27 0070 01776C3C" { set x [expr $x+1]; exp_continue; }
59
        -re ".*  27      8120" { set x [expr $x+1]; exp_continue; }
60
        -re ".*  28 0076 01776C3C" { set x [expr $x+1]; exp_continue; }
61
        -re ".*  28      A120" { set x [expr $x+1]; exp_continue; }
62
        -re ".*  29 007c 01776C3C" { set x [expr $x+1]; exp_continue; }
63
        -re ".*  29      9120" { set x [expr $x+1]; exp_continue; }
64
        -re ".*  30 0082 01776C3C" { set x [expr $x+1]; exp_continue; }
65
        -re ".*  30      C1209ABC" { set x [expr $x+1]; exp_continue; }
66
        -re ".*  31 008a 01776C3C" { set x [expr $x+1]; exp_continue; }
67
        -re ".*  31      C9209ABC" { set x [expr $x+1]; exp_continue; }
68
        -re ".*  31      DEF0" { set x [expr $x+1]; exp_continue; }
69
        -re ".*  32 0094 01776C3C" { set x [expr $x+1]; exp_continue; }
70
        -re ".*  32      D2209ABC" { set x [expr $x+1]; exp_continue; }
71
        -re ".*  33 009c 01776C3C" { set x [expr $x+1]; exp_continue; }
72
        -re ".*  33      E2209ABC" { set x [expr $x+1]; exp_continue; }
73
        -re ".*  34 00a4 01776C3C" { set x [expr $x+1]; exp_continue; }
74
        -re ".*  34      F2209ABC" { set x [expr $x+1]; exp_continue; }
75
        -re ".*  35 00ac 01776C3C" { set x [expr $x+1]; exp_continue; }
76
        -re ".*  35      DA209ABC" { set x [expr $x+1]; exp_continue; }
77
        -re ".*  35      DEF0" { set x [expr $x+1]; exp_continue; }
78
        -re ".*  36 00b6 01776C3C" { set x [expr $x+1]; exp_continue; }
79
        -re ".*  36      EA209ABC" { set x [expr $x+1]; exp_continue; }
80
        -re ".*  36      DEF0" { set x [expr $x+1]; exp_continue; }
81
        -re ".*  37 00c0 01776C3C" { set x [expr $x+1]; exp_continue; }
82
        -re ".*  37      FA209ABC" { set x [expr $x+1]; exp_continue; }
83
        -re ".*  37      DEF0" { set x [expr $x+1]; exp_continue; }
84
        -re ".*  38 00ca 01776C3C" { set x [expr $x+1]; exp_continue; }
85
        -re ".*  38      40209ABC" { set x [expr $x+1]; exp_continue; }
86
        -re ".*  39 00d2 01776C3C" { set x [expr $x+1]; exp_continue; }
87
        -re ".*  39      48209ABC" { set x [expr $x+1]; exp_continue; }
88
        -re ".*  39      DEF0" { set x [expr $x+1]; exp_continue; }
89
        -re ".*  40              " {
90
            if [expr $x == 37] then {
91
                pass "$testname: cmp.b @-er3, ..."
92
            } else {
93
                fail "$testname: cmp.b @-er3, ... ($x)"
94
            }
95
        }
96
        default { fail "$testname: cmp.b @-er3, ... ($x)" }
97
    }
98
 
99
    set x 0
100
    expect {
101
        -re ".*  41 00dc 01746C3C" { set x [expr $x+1]; exp_continue; }
102
        -re ".*  41      0120" { set x [expr $x+1]; exp_continue; }
103
        -re ".*  42 00e2 01746C3C" { set x [expr $x+1]; exp_continue; }
104
        -re ".*  42      3120" { set x [expr $x+1]; exp_continue; }
105
        -re ".*  43 00e8 01746C3C" { set x [expr $x+1]; exp_continue; }
106
        -re ".*  43      B120" { set x [expr $x+1]; exp_continue; }
107
        -re ".*  44 00ee 01746C3C" { set x [expr $x+1]; exp_continue; }
108
        -re ".*  44      8120" { set x [expr $x+1]; exp_continue; }
109
        -re ".*  45 00f4 01746C3C" { set x [expr $x+1]; exp_continue; }
110
        -re ".*  45      A120" { set x [expr $x+1]; exp_continue; }
111
        -re ".*  46 00fa 01746C3C" { set x [expr $x+1]; exp_continue; }
112
        -re ".*  46      9120" { set x [expr $x+1]; exp_continue; }
113
        -re ".*  47 0100 01746C3C" { set x [expr $x+1]; exp_continue; }
114
        -re ".*  47      C1209ABC" { set x [expr $x+1]; exp_continue; }
115
        -re ".*  48 0108 01746C3C" { set x [expr $x+1]; exp_continue; }
116
        -re ".*  48      C9209ABC" { set x [expr $x+1]; exp_continue; }
117
        -re ".*  48      DEF0" { set x [expr $x+1]; exp_continue; }
118
        -re ".*  49 0112 01746C3C" { set x [expr $x+1]; exp_continue; }
119
        -re ".*  49      D2209ABC" { set x [expr $x+1]; exp_continue; }
120
        -re ".*  50 011a 01746C3C" { set x [expr $x+1]; exp_continue; }
121
        -re ".*  50      E2209ABC" { set x [expr $x+1]; exp_continue; }
122
        -re ".*  51 0122 01746C3C" { set x [expr $x+1]; exp_continue; }
123
        -re ".*  51      F2209ABC" { set x [expr $x+1]; exp_continue; }
124
        -re ".*  52 012a 01746C3C" { set x [expr $x+1]; exp_continue; }
125
        -re ".*  52      DA209ABC" { set x [expr $x+1]; exp_continue; }
126
        -re ".*  52      DEF0" { set x [expr $x+1]; exp_continue; }
127
        -re ".*  53 0134 01746C3C" { set x [expr $x+1]; exp_continue; }
128
        -re ".*  53      EA209ABC" { set x [expr $x+1]; exp_continue; }
129
        -re ".*  53      DEF0" { set x [expr $x+1]; exp_continue; }
130
        -re ".*  54 013e 01746C3C" { set x [expr $x+1]; exp_continue; }
131
        -re ".*  54      FA209ABC" { set x [expr $x+1]; exp_continue; }
132
        -re ".*  54      DEF0" { set x [expr $x+1]; exp_continue; }
133
        -re ".*  55 0148 01746C3C" { set x [expr $x+1]; exp_continue; }
134
        -re ".*  55      40209ABC" { set x [expr $x+1]; exp_continue; }
135
        -re ".*  56 0150 01746C3C" { set x [expr $x+1]; exp_continue; }
136
        -re ".*  56      48209ABC" { set x [expr $x+1]; exp_continue; }
137
        -re ".*  56      DEF0" { set x [expr $x+1]; exp_continue; }
138
        -re ".*  57              " {
139
            if [expr $x == 37] then {
140
                pass "$testname: cmp.b @er3+, ..."
141
            } else {
142
                fail "$testname: cmp.b @er3+, ... ($x)"
143
            }
144
        }
145
        default { fail "$testname: cmp.b @er3+, ... ($x)" }
146
    }
147
 
148
    set x 0
149
    expect {
150
        -re ".*  58 015a 01766C3C" { set x [expr $x+1]; exp_continue; }
151
        -re ".*  58      0120" { set x [expr $x+1]; exp_continue; }
152
        -re ".*  59 0160 01766C3C" { set x [expr $x+1]; exp_continue; }
153
        -re ".*  59      3120" { set x [expr $x+1]; exp_continue; }
154
        -re ".*  60 0166 01766C3C" { set x [expr $x+1]; exp_continue; }
155
        -re ".*  60      B120" { set x [expr $x+1]; exp_continue; }
156
        -re ".*  61 016c 01766C3C" { set x [expr $x+1]; exp_continue; }
157
        -re ".*  61      8120" { set x [expr $x+1]; exp_continue; }
158
        -re ".*  62 0172 01766C3C" { set x [expr $x+1]; exp_continue; }
159
        -re ".*  62      A120" { set x [expr $x+1]; exp_continue; }
160
        -re ".*  63 0178 01766C3C" { set x [expr $x+1]; exp_continue; }
161
        -re ".*  63      9120" { set x [expr $x+1]; exp_continue; }
162
        -re ".*  64 017e 01766C3C" { set x [expr $x+1]; exp_continue; }
163
        -re ".*  64      C1209ABC" { set x [expr $x+1]; exp_continue; }
164
        -re ".*  65 0186 01766C3C" { set x [expr $x+1]; exp_continue; }
165
        -re ".*  65      C9209ABC" { set x [expr $x+1]; exp_continue; }
166
        -re ".*  65      DEF0" { set x [expr $x+1]; exp_continue; }
167
        -re ".*  66 0190 01766C3C" { set x [expr $x+1]; exp_continue; }
168
        -re ".*  66      D2209ABC" { set x [expr $x+1]; exp_continue; }
169
        -re ".*  67 0198 01766C3C" { set x [expr $x+1]; exp_continue; }
170
        -re ".*  67      E2209ABC" { set x [expr $x+1]; exp_continue; }
171
        -re ".*  68 01a0 01766C3C" { set x [expr $x+1]; exp_continue; }
172
        -re ".*  68      F2209ABC" { set x [expr $x+1]; exp_continue; }
173
        -re ".*  69 01a8 01766C3C" { set x [expr $x+1]; exp_continue; }
174
        -re ".*  69      DA209ABC" { set x [expr $x+1]; exp_continue; }
175
        -re ".*  69      DEF0" { set x [expr $x+1]; exp_continue; }
176
        -re ".*  70 01b2 01766C3C" { set x [expr $x+1]; exp_continue; }
177
        -re ".*  70      EA209ABC" { set x [expr $x+1]; exp_continue; }
178
        -re ".*  70      DEF0" { set x [expr $x+1]; exp_continue; }
179
        -re ".*  71 01bc 01766C3C" { set x [expr $x+1]; exp_continue; }
180
        -re ".*  71      FA209ABC" { set x [expr $x+1]; exp_continue; }
181
        -re ".*  71      DEF0" { set x [expr $x+1]; exp_continue; }
182
        -re ".*  72 01c6 01766C3C" { set x [expr $x+1]; exp_continue; }
183
        -re ".*  72      40209ABC" { set x [expr $x+1]; exp_continue; }
184
        -re ".*  73 01ce 01766C3C" { set x [expr $x+1]; exp_continue; }
185
        -re ".*  73      48209ABC" { set x [expr $x+1]; exp_continue; }
186
        -re ".*  73      DEF0" { set x [expr $x+1]; exp_continue; }
187
        -re ".*  74              " {
188
            if [expr $x == 37] then {
189
                pass "$testname: cmp.b @er3-, ..."
190
            } else {
191
                fail "$testname: cmp.b @er3-, ... ($x)"
192
            }
193
        }
194
        default { fail "$testname: cmp.b @er3-, ... ($x)" }
195
    }
196
 
197
    set x 0
198
    expect {
199
        -re ".*  75 01d8 01756C3C" { set x [expr $x+1]; exp_continue; }
200
        -re ".*  75      0120" { set x [expr $x+1]; exp_continue; }
201
        -re ".*  76 01de 01756C3C" { set x [expr $x+1]; exp_continue; }
202
        -re ".*  76      3120" { set x [expr $x+1]; exp_continue; }
203
        -re ".*  77 01e4 01756C3C" { set x [expr $x+1]; exp_continue; }
204
        -re ".*  77      B120" { set x [expr $x+1]; exp_continue; }
205
        -re ".*  78 01ea 01756C3C" { set x [expr $x+1]; exp_continue; }
206
        -re ".*  78      8120" { set x [expr $x+1]; exp_continue; }
207
        -re ".*  79 01f0 01756C3C" { set x [expr $x+1]; exp_continue; }
208
        -re ".*  79      A120" { set x [expr $x+1]; exp_continue; }
209
        -re ".*  80 01f6 01756C3C" { set x [expr $x+1]; exp_continue; }
210
        -re ".*  80      9120" { set x [expr $x+1]; exp_continue; }
211
        -re ".*  81 01fc 01756C3C" { set x [expr $x+1]; exp_continue; }
212
        -re ".*  81      C1209ABC" { set x [expr $x+1]; exp_continue; }
213
        -re ".*  82 0204 01756C3C" { set x [expr $x+1]; exp_continue; }
214
        -re ".*  82      C9209ABC" { set x [expr $x+1]; exp_continue; }
215
        -re ".*  82      DEF0" { set x [expr $x+1]; exp_continue; }
216
        -re ".*  83 020e 01756C3C" { set x [expr $x+1]; exp_continue; }
217
        -re ".*  83      D2209ABC" { set x [expr $x+1]; exp_continue; }
218
        -re ".*  84 0216 01756C3C" { set x [expr $x+1]; exp_continue; }
219
        -re ".*  84      E2209ABC" { set x [expr $x+1]; exp_continue; }
220
        -re ".*  85 021e 01756C3C" { set x [expr $x+1]; exp_continue; }
221
        -re ".*  85      F2209ABC" { set x [expr $x+1]; exp_continue; }
222
        -re ".*  86 0226 01756C3C" { set x [expr $x+1]; exp_continue; }
223
        -re ".*  86      DA209ABC" { set x [expr $x+1]; exp_continue; }
224
        -re ".*  86      DEF0" { set x [expr $x+1]; exp_continue; }
225
        -re ".*  87 0230 01756C3C" { set x [expr $x+1]; exp_continue; }
226
        -re ".*  87      EA209ABC" { set x [expr $x+1]; exp_continue; }
227
        -re ".*  87      DEF0" { set x [expr $x+1]; exp_continue; }
228
        -re ".*  88 023a 01756C3C" { set x [expr $x+1]; exp_continue; }
229
        -re ".*  88      FA209ABC" { set x [expr $x+1]; exp_continue; }
230
        -re ".*  88      DEF0" { set x [expr $x+1]; exp_continue; }
231
        -re ".*  89 0244 01756C3C" { set x [expr $x+1]; exp_continue; }
232
        -re ".*  89      40209ABC" { set x [expr $x+1]; exp_continue; }
233
        -re ".*  90 024c 01756C3C" { set x [expr $x+1]; exp_continue; }
234
        -re ".*  90      48209ABC" { set x [expr $x+1]; exp_continue; }
235
        -re ".*  90      DEF0" { set x [expr $x+1]; exp_continue; }
236
        -re ".*  91              " {
237
            if [expr $x == 37] then {
238
                pass "$testname: cmp.b @+er3, ..."
239
            } else {
240
                fail "$testname: cmp.b @+er3, ... ($x)"
241
            }
242
        }
243
        default { fail "$testname: cmp.b @+er3, ... ($x)" }
244
    }
245
 
246
    set x 0
247
    expect {
248
        -re ".*  92 0256 01746E3C" { set x [expr $x+1]; exp_continue; }
249
        -re ".*  92      12340120" { set x [expr $x+1]; exp_continue; }
250
        -re ".*  93 025e 01746E3C" { set x [expr $x+1]; exp_continue; }
251
        -re ".*  93      12343120" { set x [expr $x+1]; exp_continue; }
252
        -re ".*  94 0266 01746E3C" { set x [expr $x+1]; exp_continue; }
253
        -re ".*  94      1234B120" { set x [expr $x+1]; exp_continue; }
254
        -re ".*  95 026e 01746E3C" { set x [expr $x+1]; exp_continue; }
255
        -re ".*  95      12348120" { set x [expr $x+1]; exp_continue; }
256
        -re ".*  96 0276 01746E3C" { set x [expr $x+1]; exp_continue; }
257
        -re ".*  96      1234A120" { set x [expr $x+1]; exp_continue; }
258
        -re ".*  97 027e 01746E3C" { set x [expr $x+1]; exp_continue; }
259
        -re ".*  97      12349120" { set x [expr $x+1]; exp_continue; }
260
        -re ".*  98 0286 01746E3C" { set x [expr $x+1]; exp_continue; }
261
        -re ".*  98      1234C120" { set x [expr $x+1]; exp_continue; }
262
        -re ".*  98      9ABC" { set x [expr $x+1]; exp_continue; }
263
        -re ".*  99 0290 01746E3C" { set x [expr $x+1]; exp_continue; }
264
        -re ".*  99      1234C920" { set x [expr $x+1]; exp_continue; }
265
        -re ".*  99      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
266
        -re ".* 100 029c 01746E3C" { set x [expr $x+1]; exp_continue; }
267
        -re ".* 100      1234D220" { set x [expr $x+1]; exp_continue; }
268
        -re ".* 100      9ABC" { set x [expr $x+1]; exp_continue; }
269
        -re ".* 101 02a6 01746E3C" { set x [expr $x+1]; exp_continue; }
270
        -re ".* 101      1234E220" { set x [expr $x+1]; exp_continue; }
271
        -re ".* 101      9ABC" { set x [expr $x+1]; exp_continue; }
272
        -re ".* 102 02b0 01746E3C" { set x [expr $x+1]; exp_continue; }
273
        -re ".* 102      1234F220" { set x [expr $x+1]; exp_continue; }
274
        -re ".* 102      9ABC" { set x [expr $x+1]; exp_continue; }
275
        -re ".* 103 02ba 01746E3C" { set x [expr $x+1]; exp_continue; }
276
        -re ".* 103      1234DA20" { set x [expr $x+1]; exp_continue; }
277
        -re ".* 103      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
278
        -re ".* 104 02c6 01746E3C" { set x [expr $x+1]; exp_continue; }
279
        -re ".* 104      1234EA20" { set x [expr $x+1]; exp_continue; }
280
        -re ".* 104      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
281
        -re ".* 105 02d2 01746E3C" { set x [expr $x+1]; exp_continue; }
282
        -re ".* 105      1234FA20" { set x [expr $x+1]; exp_continue; }
283
        -re ".* 105      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
284
        -re ".* 106 02de 01746E3C" { set x [expr $x+1]; exp_continue; }
285
        -re ".* 106      12344020" { set x [expr $x+1]; exp_continue; }
286
        -re ".* 106      9ABC" { set x [expr $x+1]; exp_continue; }
287
        -re ".* 107 02e8 01746E3C" { set x [expr $x+1]; exp_continue; }
288
        -re ".* 107      12344820" { set x [expr $x+1]; exp_continue; }
289
        -re ".* 107      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
290
        -re ".* 108              " {
291
            if [expr $x == 42] then {
292
                pass "$testname: cmp.b @(0x1234:16,er3), ..."
293
            } else {
294
                fail "$testname: cmp.b @(0x1234:16,er3), ... ($x)"
295
            }
296
        }
297
        default { fail "$testname: cmp.b @(0x1234:16,er3), ... ($x)" }
298
    }
299
 
300
    set x 0
301
    expect {
302
        -re ".* 109 02f4 78346A2C" { set x [expr $x+1]; exp_continue; }
303
        -re ".* 109      12345678" { set x [expr $x+1]; exp_continue; }
304
        -re ".* 109      0120" { set x [expr $x+1]; exp_continue; }
305
        -re ".* 110 02fe 78346A2C" { set x [expr $x+1]; exp_continue; }
306
        -re ".* 110      12345678" { set x [expr $x+1]; exp_continue; }
307
        -re ".* 110      3120" { set x [expr $x+1]; exp_continue; }
308
        -re ".* 111 0308 78346A2C" { set x [expr $x+1]; exp_continue; }
309
        -re ".* 111      12345678" { set x [expr $x+1]; exp_continue; }
310
        -re ".* 111      B120" { set x [expr $x+1]; exp_continue; }
311
        -re ".* 112 0312 78346A2C" { set x [expr $x+1]; exp_continue; }
312
        -re ".* 112      12345678" { set x [expr $x+1]; exp_continue; }
313
        -re ".* 112      8120" { set x [expr $x+1]; exp_continue; }
314
        -re ".* 113 031c 78346A2C" { set x [expr $x+1]; exp_continue; }
315
        -re ".* 113      12345678" { set x [expr $x+1]; exp_continue; }
316
        -re ".* 113      A120" { set x [expr $x+1]; exp_continue; }
317
        -re ".* 114 0326 78346A2C" { set x [expr $x+1]; exp_continue; }
318
        -re ".* 114      12345678" { set x [expr $x+1]; exp_continue; }
319
        -re ".* 114      9120" { set x [expr $x+1]; exp_continue; }
320
        -re ".* 115 0330 78346A2C" { set x [expr $x+1]; exp_continue; }
321
        -re ".* 115      12345678" { set x [expr $x+1]; exp_continue; }
322
        -re ".* 115      C1209ABC" { set x [expr $x+1]; exp_continue; }
323
        -re ".* 116 033c 78346A2C" { set x [expr $x+1]; exp_continue; }
324
        -re ".* 116      12345678" { set x [expr $x+1]; exp_continue; }
325
        -re ".* 116      C9209ABC" { set x [expr $x+1]; exp_continue; }
326
        -re ".* 116      DEF0" { set x [expr $x+1]; exp_continue; }
327
        -re ".* 117 034a 78346A2C" { set x [expr $x+1]; exp_continue; }
328
        -re ".* 117      12345678" { set x [expr $x+1]; exp_continue; }
329
        -re ".* 117      D2209ABC" { set x [expr $x+1]; exp_continue; }
330
        -re ".* 118 0356 78346A2C" { set x [expr $x+1]; exp_continue; }
331
        -re ".* 118      12345678" { set x [expr $x+1]; exp_continue; }
332
        -re ".* 118      E2209ABC" { set x [expr $x+1]; exp_continue; }
333
        -re ".* 119 0362 78346A2C" { set x [expr $x+1]; exp_continue; }
334
        -re ".* 119      12345678" { set x [expr $x+1]; exp_continue; }
335
        -re ".* 119      F2209ABC" { set x [expr $x+1]; exp_continue; }
336
        -re ".* 120 036e 78346A2C" { set x [expr $x+1]; exp_continue; }
337
        -re ".* 120      12345678" { set x [expr $x+1]; exp_continue; }
338
        -re ".* 120      DA209ABC" { set x [expr $x+1]; exp_continue; }
339
        -re ".* 120      DEF0" { set x [expr $x+1]; exp_continue; }
340
        -re ".* 121 037c 78346A2C" { set x [expr $x+1]; exp_continue; }
341
        -re ".* 121      12345678" { set x [expr $x+1]; exp_continue; }
342
        -re ".* 121      EA209ABC" { set x [expr $x+1]; exp_continue; }
343
        -re ".* 121      DEF0" { set x [expr $x+1]; exp_continue; }
344
        -re ".* 122 038a 78346A2C" { set x [expr $x+1]; exp_continue; }
345
        -re ".* 122      12345678" { set x [expr $x+1]; exp_continue; }
346
        -re ".* 122      FA209ABC" { set x [expr $x+1]; exp_continue; }
347
        -re ".* 122      DEF0" { set x [expr $x+1]; exp_continue; }
348
        -re ".* 123 0398 78346A2C" { set x [expr $x+1]; exp_continue; }
349
        -re ".* 123      12345678" { set x [expr $x+1]; exp_continue; }
350
        -re ".* 123      40209ABC" { set x [expr $x+1]; exp_continue; }
351
        -re ".* 124 03a4 78346A2C" { set x [expr $x+1]; exp_continue; }
352
        -re ".* 124      12345678" { set x [expr $x+1]; exp_continue; }
353
        -re ".* 124      48209ABC" { set x [expr $x+1]; exp_continue; }
354
        -re ".* 124      DEF0" { set x [expr $x+1]; exp_continue; }
355
        -re ".* 125              " {
356
            if [expr $x == 53] then {
357
                pass "$testname: cmp.b @(0x12345678:32,er3), ..."
358
            } else {
359
                fail "$testname: cmp.b @(0x12345678:32,er3), ... ($x)"
360
            }
361
        }
362
        default { fail "$testname: cmp.b @(0x12345678:32,er3), ... ($x)" }
363
    }
364
 
365
    set x 0
366
    expect {
367
        -re ".* 126 03b2 01756E3C" { set x [expr $x+1]; exp_continue; }
368
        -re ".* 126      12340120" { set x [expr $x+1]; exp_continue; }
369
        -re ".* 127 03ba 01756E3C" { set x [expr $x+1]; exp_continue; }
370
        -re ".* 127      12343120" { set x [expr $x+1]; exp_continue; }
371
        -re ".* 128 03c2 01756E3C" { set x [expr $x+1]; exp_continue; }
372
        -re ".* 128      1234B120" { set x [expr $x+1]; exp_continue; }
373
        -re ".* 129 03ca 01756E3C" { set x [expr $x+1]; exp_continue; }
374
        -re ".* 129      12348120" { set x [expr $x+1]; exp_continue; }
375
        -re ".* 130 03d2 01756E3C" { set x [expr $x+1]; exp_continue; }
376
        -re ".* 130      1234A120" { set x [expr $x+1]; exp_continue; }
377
        -re ".* 131 03da 01756E3C" { set x [expr $x+1]; exp_continue; }
378
        -re ".* 131      12349120" { set x [expr $x+1]; exp_continue; }
379
        -re ".* 132 03e2 01756E3C" { set x [expr $x+1]; exp_continue; }
380
        -re ".* 132      1234C120" { set x [expr $x+1]; exp_continue; }
381
        -re ".* 132      9ABC" { set x [expr $x+1]; exp_continue; }
382
        -re ".* 133 03ec 01756E3C" { set x [expr $x+1]; exp_continue; }
383
        -re ".* 133      1234C920" { set x [expr $x+1]; exp_continue; }
384
        -re ".* 133      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
385
        -re ".* 134 03f8 01756E3C" { set x [expr $x+1]; exp_continue; }
386
        -re ".* 134      1234D220" { set x [expr $x+1]; exp_continue; }
387
        -re ".* 134      9ABC" { set x [expr $x+1]; exp_continue; }
388
        -re ".* 135 0402 01756E3C" { set x [expr $x+1]; exp_continue; }
389
        -re ".* 135      1234E220" { set x [expr $x+1]; exp_continue; }
390
        -re ".* 135      9ABC" { set x [expr $x+1]; exp_continue; }
391
        -re ".* 136 040c 01756E3C" { set x [expr $x+1]; exp_continue; }
392
        -re ".* 136      1234F220" { set x [expr $x+1]; exp_continue; }
393
        -re ".* 136      9ABC" { set x [expr $x+1]; exp_continue; }
394
        -re ".* 137 0416 01756E3C" { set x [expr $x+1]; exp_continue; }
395
        -re ".* 137      1234DA20" { set x [expr $x+1]; exp_continue; }
396
        -re ".* 137      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
397
        -re ".* 138 0422 01756E3C" { set x [expr $x+1]; exp_continue; }
398
        -re ".* 138      1234EA20" { set x [expr $x+1]; exp_continue; }
399
        -re ".* 138      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
400
        -re ".* 139 042e 01756E3C" { set x [expr $x+1]; exp_continue; }
401
        -re ".* 139      1234FA20" { set x [expr $x+1]; exp_continue; }
402
        -re ".* 139      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
403
        -re ".* 140 043a 01756E3C" { set x [expr $x+1]; exp_continue; }
404
        -re ".* 140      12344020" { set x [expr $x+1]; exp_continue; }
405
        -re ".* 140      9ABC" { set x [expr $x+1]; exp_continue; }
406
        -re ".* 141 0444 01756E3C" { set x [expr $x+1]; exp_continue; }
407
        -re ".* 141      12344820" { set x [expr $x+1]; exp_continue; }
408
        -re ".* 141      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
409
        -re ".* 142              " {
410
            if [expr $x == 42] then {
411
                pass "$testname: cmp.b @(0x1234:16,r3l.b), ..."
412
            } else {
413
                fail "$testname: cmp.b @(0x1234:16,r3l.b), ... ($x)"
414
            }
415
        }
416
        default { fail "$testname: cmp.b @(0x1234:16,r3l.b), ... ($x)" }
417
    }
418
 
419
    set x 0
420
    expect {
421
        -re ".* 143 0450 01766E3C" { set x [expr $x+1]; exp_continue; }
422
        -re ".* 143      12340120" { set x [expr $x+1]; exp_continue; }
423
        -re ".* 144 0458 01766E3C" { set x [expr $x+1]; exp_continue; }
424
        -re ".* 144      12343120" { set x [expr $x+1]; exp_continue; }
425
        -re ".* 145 0460 01766E3C" { set x [expr $x+1]; exp_continue; }
426
        -re ".* 145      1234B120" { set x [expr $x+1]; exp_continue; }
427
        -re ".* 146 0468 01766E3C" { set x [expr $x+1]; exp_continue; }
428
        -re ".* 146      12348120" { set x [expr $x+1]; exp_continue; }
429
        -re ".* 147 0470 01766E3C" { set x [expr $x+1]; exp_continue; }
430
        -re ".* 147      1234A120" { set x [expr $x+1]; exp_continue; }
431
        -re ".* 148 0478 01766E3C" { set x [expr $x+1]; exp_continue; }
432
        -re ".* 148      12349120" { set x [expr $x+1]; exp_continue; }
433
        -re ".* 149 0480 01766E3C" { set x [expr $x+1]; exp_continue; }
434
        -re ".* 149      1234C120" { set x [expr $x+1]; exp_continue; }
435
        -re ".* 149      9ABC" { set x [expr $x+1]; exp_continue; }
436
        -re ".* 150 048a 01766E3C" { set x [expr $x+1]; exp_continue; }
437
        -re ".* 150      1234C920" { set x [expr $x+1]; exp_continue; }
438
        -re ".* 150      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
439
        -re ".* 151 0496 01766E3C" { set x [expr $x+1]; exp_continue; }
440
        -re ".* 151      1234D220" { set x [expr $x+1]; exp_continue; }
441
        -re ".* 151      9ABC" { set x [expr $x+1]; exp_continue; }
442
        -re ".* 152 04a0 01766E3C" { set x [expr $x+1]; exp_continue; }
443
        -re ".* 152      1234E220" { set x [expr $x+1]; exp_continue; }
444
        -re ".* 152      9ABC" { set x [expr $x+1]; exp_continue; }
445
        -re ".* 153 04aa 01766E3C" { set x [expr $x+1]; exp_continue; }
446
        -re ".* 153      1234F220" { set x [expr $x+1]; exp_continue; }
447
        -re ".* 153      9ABC" { set x [expr $x+1]; exp_continue; }
448
        -re ".* 154 04b4 01766E3C" { set x [expr $x+1]; exp_continue; }
449
        -re ".* 154      1234DA20" { set x [expr $x+1]; exp_continue; }
450
        -re ".* 154      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
451
        -re ".* 155 04c0 01766E3C" { set x [expr $x+1]; exp_continue; }
452
        -re ".* 155      1234EA20" { set x [expr $x+1]; exp_continue; }
453
        -re ".* 155      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
454
        -re ".* 156 04cc 01766E3C" { set x [expr $x+1]; exp_continue; }
455
        -re ".* 156      1234FA20" { set x [expr $x+1]; exp_continue; }
456
        -re ".* 156      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
457
        -re ".* 157 04d8 01766E3C" { set x [expr $x+1]; exp_continue; }
458
        -re ".* 157      12344020" { set x [expr $x+1]; exp_continue; }
459
        -re ".* 157      9ABC" { set x [expr $x+1]; exp_continue; }
460
        -re ".* 158 04e2 01766E3C" { set x [expr $x+1]; exp_continue; }
461
        -re ".* 158      12344820" { set x [expr $x+1]; exp_continue; }
462
        -re ".* 158      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
463
        -re ".* 159              " {
464
            if [expr $x == 42] then {
465
                pass "$testname: cmp.b @(0x1234:16,r3.w), ..."
466
            } else {
467
                fail "$testname: cmp.b @(0x1234:16,r3.w), ... ($x)"
468
            }
469
        }
470
        default { fail "$testname: cmp.b @(0x1234:16,r3.w), ... ($x)" }
471
    }
472
 
473
    set x 0
474
    expect {
475
        -re ".* 160 04ee 01776E3C" { set x [expr $x+1]; exp_continue; }
476
        -re ".* 160      12340120" { set x [expr $x+1]; exp_continue; }
477
        -re ".* 161 04f6 01776E3C" { set x [expr $x+1]; exp_continue; }
478
        -re ".* 161      12343120" { set x [expr $x+1]; exp_continue; }
479
        -re ".* 162 04fe 01776E3C" { set x [expr $x+1]; exp_continue; }
480
        -re ".* 162      1234B120" { set x [expr $x+1]; exp_continue; }
481
        -re ".* 163 0506 01776E3C" { set x [expr $x+1]; exp_continue; }
482
        -re ".* 163      12348120" { set x [expr $x+1]; exp_continue; }
483
        -re ".* 164 050e 01776E3C" { set x [expr $x+1]; exp_continue; }
484
        -re ".* 164      1234A120" { set x [expr $x+1]; exp_continue; }
485
        -re ".* 165 0516 01776E3C" { set x [expr $x+1]; exp_continue; }
486
        -re ".* 165      12349120" { set x [expr $x+1]; exp_continue; }
487
        -re ".* 166 051e 01776E3C" { set x [expr $x+1]; exp_continue; }
488
        -re ".* 166      1234C120" { set x [expr $x+1]; exp_continue; }
489
        -re ".* 166      9ABC" { set x [expr $x+1]; exp_continue; }
490
        -re ".* 167 0528 01776E3C" { set x [expr $x+1]; exp_continue; }
491
        -re ".* 167      1234C920" { set x [expr $x+1]; exp_continue; }
492
        -re ".* 167      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
493
        -re ".* 168 0534 01776E3C" { set x [expr $x+1]; exp_continue; }
494
        -re ".* 168      1234D220" { set x [expr $x+1]; exp_continue; }
495
        -re ".* 168      9ABC" { set x [expr $x+1]; exp_continue; }
496
        -re ".* 169 053e 01776E3C" { set x [expr $x+1]; exp_continue; }
497
        -re ".* 169      1234E220" { set x [expr $x+1]; exp_continue; }
498
        -re ".* 169      9ABC" { set x [expr $x+1]; exp_continue; }
499
        -re ".* 170 0548 01776E3C" { set x [expr $x+1]; exp_continue; }
500
        -re ".* 170      1234F220" { set x [expr $x+1]; exp_continue; }
501
        -re ".* 170      9ABC" { set x [expr $x+1]; exp_continue; }
502
        -re ".* 171 0552 01776E3C" { set x [expr $x+1]; exp_continue; }
503
        -re ".* 171      1234DA20" { set x [expr $x+1]; exp_continue; }
504
        -re ".* 171      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
505
        -re ".* 172 055e 01776E3C" { set x [expr $x+1]; exp_continue; }
506
        -re ".* 172      1234EA20" { set x [expr $x+1]; exp_continue; }
507
        -re ".* 172      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
508
        -re ".* 173 056a 01776E3C" { set x [expr $x+1]; exp_continue; }
509
        -re ".* 173      1234FA20" { set x [expr $x+1]; exp_continue; }
510
        -re ".* 173      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
511
        -re ".* 174 0576 01776E3C" { set x [expr $x+1]; exp_continue; }
512
        -re ".* 174      12344020" { set x [expr $x+1]; exp_continue; }
513
        -re ".* 174      9ABC" { set x [expr $x+1]; exp_continue; }
514
        -re ".* 175 0580 01776E3C" { set x [expr $x+1]; exp_continue; }
515
        -re ".* 175      12344820" { set x [expr $x+1]; exp_continue; }
516
        -re ".* 175      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
517
        -re ".* 176              " {
518
            if [expr $x == 42] then {
519
                pass "$testname: cmp.b @(0x1234:16,er3.l), ..."
520
            } else {
521
                fail "$testname: cmp.b @(0x1234:16,er3.l), ... ($x)"
522
            }
523
        }
524
        default { fail "$testname: cmp.b @(0x1234:16,er3.l), ... ($x)" }
525
    }
526
 
527
    set x 0
528
    expect {
529
        -re ".* 177 058c 78356A2C" { set x [expr $x+1]; exp_continue; }
530
        -re ".* 177      12345678" { set x [expr $x+1]; exp_continue; }
531
        -re ".* 177      0120" { set x [expr $x+1]; exp_continue; }
532
        -re ".* 178 0596 78356A2C" { set x [expr $x+1]; exp_continue; }
533
        -re ".* 178      12345678" { set x [expr $x+1]; exp_continue; }
534
        -re ".* 178      3120" { set x [expr $x+1]; exp_continue; }
535
        -re ".* 179 05a0 78356A2C" { set x [expr $x+1]; exp_continue; }
536
        -re ".* 179      12345678" { set x [expr $x+1]; exp_continue; }
537
        -re ".* 179      B120" { set x [expr $x+1]; exp_continue; }
538
        -re ".* 180 05aa 78356A2C" { set x [expr $x+1]; exp_continue; }
539
        -re ".* 180      12345678" { set x [expr $x+1]; exp_continue; }
540
        -re ".* 180      8120" { set x [expr $x+1]; exp_continue; }
541
        -re ".* 181 05b4 78356A2C" { set x [expr $x+1]; exp_continue; }
542
        -re ".* 181      12345678" { set x [expr $x+1]; exp_continue; }
543
        -re ".* 181      A120" { set x [expr $x+1]; exp_continue; }
544
        -re ".* 182 05be 78356A2C" { set x [expr $x+1]; exp_continue; }
545
        -re ".* 182      12345678" { set x [expr $x+1]; exp_continue; }
546
        -re ".* 182      9120" { set x [expr $x+1]; exp_continue; }
547
        -re ".* 183 05c8 78356A2C" { set x [expr $x+1]; exp_continue; }
548
        -re ".* 183      12345678" { set x [expr $x+1]; exp_continue; }
549
        -re ".* 183      C1209ABC" { set x [expr $x+1]; exp_continue; }
550
        -re ".* 184 05d4 78356A2C" { set x [expr $x+1]; exp_continue; }
551
        -re ".* 184      12345678" { set x [expr $x+1]; exp_continue; }
552
        -re ".* 184      C9209ABC" { set x [expr $x+1]; exp_continue; }
553
        -re ".* 184      DEF0" { set x [expr $x+1]; exp_continue; }
554
        -re ".* 185 05e2 78356A2C" { set x [expr $x+1]; exp_continue; }
555
        -re ".* 185      12345678" { set x [expr $x+1]; exp_continue; }
556
        -re ".* 185      D2209ABC" { set x [expr $x+1]; exp_continue; }
557
        -re ".* 186 05ee 78356A2C" { set x [expr $x+1]; exp_continue; }
558
        -re ".* 186      12345678" { set x [expr $x+1]; exp_continue; }
559
        -re ".* 186      E2209ABC" { set x [expr $x+1]; exp_continue; }
560
        -re ".* 187 05fa 78356A2C" { set x [expr $x+1]; exp_continue; }
561
        -re ".* 187      12345678" { set x [expr $x+1]; exp_continue; }
562
        -re ".* 187      F2209ABC" { set x [expr $x+1]; exp_continue; }
563
        -re ".* 188 0606 78356A2C" { set x [expr $x+1]; exp_continue; }
564
        -re ".* 188      12345678" { set x [expr $x+1]; exp_continue; }
565
        -re ".* 188      DA209ABC" { set x [expr $x+1]; exp_continue; }
566
        -re ".* 188      DEF0" { set x [expr $x+1]; exp_continue; }
567
        -re ".* 189 0614 78356A2C" { set x [expr $x+1]; exp_continue; }
568
        -re ".* 189      12345678" { set x [expr $x+1]; exp_continue; }
569
        -re ".* 189      EA209ABC" { set x [expr $x+1]; exp_continue; }
570
        -re ".* 189      DEF0" { set x [expr $x+1]; exp_continue; }
571
        -re ".* 190 0622 78356A2C" { set x [expr $x+1]; exp_continue; }
572
        -re ".* 190      12345678" { set x [expr $x+1]; exp_continue; }
573
        -re ".* 190      FA209ABC" { set x [expr $x+1]; exp_continue; }
574
        -re ".* 190      DEF0" { set x [expr $x+1]; exp_continue; }
575
        -re ".* 191 0630 78356A2C" { set x [expr $x+1]; exp_continue; }
576
        -re ".* 191      12345678" { set x [expr $x+1]; exp_continue; }
577
        -re ".* 191      40209ABC" { set x [expr $x+1]; exp_continue; }
578
        -re ".* 192 063c 78356A2C" { set x [expr $x+1]; exp_continue; }
579
        -re ".* 192      12345678" { set x [expr $x+1]; exp_continue; }
580
        -re ".* 192      48209ABC" { set x [expr $x+1]; exp_continue; }
581
        -re ".* 192      DEF0" { set x [expr $x+1]; exp_continue; }
582
        -re ".* 193              " {
583
            if [expr $x == 53] then {
584
                pass "$testname: cmp.b @(0x12345678:32,r3l.b), ..."
585
            } else {
586
                fail "$testname: cmp.b @(0x12345678:32,r3l.b), ... ($x)"
587
            }
588
        }
589
        default { fail "$testname: cmp.b @(0x12345678:32,r3l.b), ... ($x)" }
590
    }
591
 
592
    set x 0
593
    expect {
594
        -re ".* 194 064a 78366A2C" { set x [expr $x+1]; exp_continue; }
595
        -re ".* 194      12345678" { set x [expr $x+1]; exp_continue; }
596
        -re ".* 194      0120" { set x [expr $x+1]; exp_continue; }
597
        -re ".* 195 0654 78366A2C" { set x [expr $x+1]; exp_continue; }
598
        -re ".* 195      12345678" { set x [expr $x+1]; exp_continue; }
599
        -re ".* 195      3120" { set x [expr $x+1]; exp_continue; }
600
        -re ".* 196 065e 78366A2C" { set x [expr $x+1]; exp_continue; }
601
        -re ".* 196      12345678" { set x [expr $x+1]; exp_continue; }
602
        -re ".* 196      B120" { set x [expr $x+1]; exp_continue; }
603
        -re ".* 197 0668 78366A2C" { set x [expr $x+1]; exp_continue; }
604
        -re ".* 197      12345678" { set x [expr $x+1]; exp_continue; }
605
        -re ".* 197      8120" { set x [expr $x+1]; exp_continue; }
606
        -re ".* 198 0672 78366A2C" { set x [expr $x+1]; exp_continue; }
607
        -re ".* 198      12345678" { set x [expr $x+1]; exp_continue; }
608
        -re ".* 198      A120" { set x [expr $x+1]; exp_continue; }
609
        -re ".* 199 067c 78366A2C" { set x [expr $x+1]; exp_continue; }
610
        -re ".* 199      12345678" { set x [expr $x+1]; exp_continue; }
611
        -re ".* 199      9120" { set x [expr $x+1]; exp_continue; }
612
        -re ".* 200 0686 78366A2C" { set x [expr $x+1]; exp_continue; }
613
        -re ".* 200      12345678" { set x [expr $x+1]; exp_continue; }
614
        -re ".* 200      C1209ABC" { set x [expr $x+1]; exp_continue; }
615
        -re ".* 201 0692 78366A2C" { set x [expr $x+1]; exp_continue; }
616
        -re ".* 201      12345678" { set x [expr $x+1]; exp_continue; }
617
        -re ".* 201      C9209ABC" { set x [expr $x+1]; exp_continue; }
618
        -re ".* 201      DEF0" { set x [expr $x+1]; exp_continue; }
619
        -re ".* 202 06a0 78366A2C" { set x [expr $x+1]; exp_continue; }
620
        -re ".* 202      12345678" { set x [expr $x+1]; exp_continue; }
621
        -re ".* 202      D2209ABC" { set x [expr $x+1]; exp_continue; }
622
        -re ".* 203 06ac 78366A2C" { set x [expr $x+1]; exp_continue; }
623
        -re ".* 203      12345678" { set x [expr $x+1]; exp_continue; }
624
        -re ".* 203      E2209ABC" { set x [expr $x+1]; exp_continue; }
625
        -re ".* 204 06b8 78366A2C" { set x [expr $x+1]; exp_continue; }
626
        -re ".* 204      12345678" { set x [expr $x+1]; exp_continue; }
627
        -re ".* 204      F2209ABC" { set x [expr $x+1]; exp_continue; }
628
        -re ".* 205 06c4 78366A2C" { set x [expr $x+1]; exp_continue; }
629
        -re ".* 205      12345678" { set x [expr $x+1]; exp_continue; }
630
        -re ".* 205      DA209ABC" { set x [expr $x+1]; exp_continue; }
631
        -re ".* 205      DEF0" { set x [expr $x+1]; exp_continue; }
632
        -re ".* 206 06d2 78366A2C" { set x [expr $x+1]; exp_continue; }
633
        -re ".* 206      12345678" { set x [expr $x+1]; exp_continue; }
634
        -re ".* 206      EA209ABC" { set x [expr $x+1]; exp_continue; }
635
        -re ".* 206      DEF0" { set x [expr $x+1]; exp_continue; }
636
        -re ".* 207 06e0 78366A2C" { set x [expr $x+1]; exp_continue; }
637
        -re ".* 207      12345678" { set x [expr $x+1]; exp_continue; }
638
        -re ".* 207      FA209ABC" { set x [expr $x+1]; exp_continue; }
639
        -re ".* 207      DEF0" { set x [expr $x+1]; exp_continue; }
640
        -re ".* 208 06ee 78366A2C" { set x [expr $x+1]; exp_continue; }
641
        -re ".* 208      12345678" { set x [expr $x+1]; exp_continue; }
642
        -re ".* 208      40209ABC" { set x [expr $x+1]; exp_continue; }
643
        -re ".* 209 06fa 78366A2C" { set x [expr $x+1]; exp_continue; }
644
        -re ".* 209      12345678" { set x [expr $x+1]; exp_continue; }
645
        -re ".* 209      48209ABC" { set x [expr $x+1]; exp_continue; }
646
        -re ".* 209      DEF0" { set x [expr $x+1]; exp_continue; }
647
        -re ".* 210              " {
648
            if [expr $x == 53] then {
649
                pass "$testname: cmp.b @(0x12345678:32,r3.w), ..."
650
            } else {
651
                fail "$testname: cmp.b @(0x12345678:32,r3.w), ... ($x)"
652
            }
653
        }
654
        default { fail "$testname: cmp.b @(0x12345678:32,r3.w), ... ($x)" }
655
    }
656
 
657
    set x 0
658
    expect {
659
        -re ".* 211 0708 78376A2C" { set x [expr $x+1]; exp_continue; }
660
        -re ".* 211      12345678" { set x [expr $x+1]; exp_continue; }
661
        -re ".* 211      0120" { set x [expr $x+1]; exp_continue; }
662
        -re ".* 212 0712 78376A2C" { set x [expr $x+1]; exp_continue; }
663
        -re ".* 212      12345678" { set x [expr $x+1]; exp_continue; }
664
        -re ".* 212      3120" { set x [expr $x+1]; exp_continue; }
665
        -re ".* 213 071c 78376A2C" { set x [expr $x+1]; exp_continue; }
666
        -re ".* 213      12345678" { set x [expr $x+1]; exp_continue; }
667
        -re ".* 213      B120" { set x [expr $x+1]; exp_continue; }
668
        -re ".* 214 0726 78376A2C" { set x [expr $x+1]; exp_continue; }
669
        -re ".* 214      12345678" { set x [expr $x+1]; exp_continue; }
670
        -re ".* 214      8120" { set x [expr $x+1]; exp_continue; }
671
        -re ".* 215 0730 78376A2C" { set x [expr $x+1]; exp_continue; }
672
        -re ".* 215      12345678" { set x [expr $x+1]; exp_continue; }
673
        -re ".* 215      A120" { set x [expr $x+1]; exp_continue; }
674
        -re ".* 216 073a 78376A2C" { set x [expr $x+1]; exp_continue; }
675
        -re ".* 216      12345678" { set x [expr $x+1]; exp_continue; }
676
        -re ".* 216      9120" { set x [expr $x+1]; exp_continue; }
677
        -re ".* 217 0744 78376A2C" { set x [expr $x+1]; exp_continue; }
678
        -re ".* 217      12345678" { set x [expr $x+1]; exp_continue; }
679
        -re ".* 217      C1209ABC" { set x [expr $x+1]; exp_continue; }
680
        -re ".* 218 0750 78376A2C" { set x [expr $x+1]; exp_continue; }
681
        -re ".* 218      12345678" { set x [expr $x+1]; exp_continue; }
682
        -re ".* 218      C9209ABC" { set x [expr $x+1]; exp_continue; }
683
        -re ".* 218      DEF0" { set x [expr $x+1]; exp_continue; }
684
        -re ".* 219 075e 78376A2C" { set x [expr $x+1]; exp_continue; }
685
        -re ".* 219      12345678" { set x [expr $x+1]; exp_continue; }
686
        -re ".* 219      D2209ABC" { set x [expr $x+1]; exp_continue; }
687
        -re ".* 220 076a 78376A2C" { set x [expr $x+1]; exp_continue; }
688
        -re ".* 220      12345678" { set x [expr $x+1]; exp_continue; }
689
        -re ".* 220      E2209ABC" { set x [expr $x+1]; exp_continue; }
690
        -re ".* 221 0776 78376A2C" { set x [expr $x+1]; exp_continue; }
691
        -re ".* 221      12345678" { set x [expr $x+1]; exp_continue; }
692
        -re ".* 221      F2209ABC" { set x [expr $x+1]; exp_continue; }
693
        -re ".* 222 0782 78376A2C" { set x [expr $x+1]; exp_continue; }
694
        -re ".* 222      12345678" { set x [expr $x+1]; exp_continue; }
695
        -re ".* 222      DA209ABC" { set x [expr $x+1]; exp_continue; }
696
        -re ".* 222      DEF0" { set x [expr $x+1]; exp_continue; }
697
        -re ".* 223 0790 78376A2C" { set x [expr $x+1]; exp_continue; }
698
        -re ".* 223      12345678" { set x [expr $x+1]; exp_continue; }
699
        -re ".* 223      EA209ABC" { set x [expr $x+1]; exp_continue; }
700
        -re ".* 223      DEF0" { set x [expr $x+1]; exp_continue; }
701
        -re ".* 224 079e 78376A2C" { set x [expr $x+1]; exp_continue; }
702
        -re ".* 224      12345678" { set x [expr $x+1]; exp_continue; }
703
        -re ".* 224      FA209ABC" { set x [expr $x+1]; exp_continue; }
704
        -re ".* 224      DEF0" { set x [expr $x+1]; exp_continue; }
705
        -re ".* 225 07ac 78376A2C" { set x [expr $x+1]; exp_continue; }
706
        -re ".* 225      12345678" { set x [expr $x+1]; exp_continue; }
707
        -re ".* 225      40209ABC" { set x [expr $x+1]; exp_continue; }
708
        -re ".* 226 07b8 78376A2C" { set x [expr $x+1]; exp_continue; }
709
        -re ".* 226      12345678" { set x [expr $x+1]; exp_continue; }
710
        -re ".* 226      48209ABC" { set x [expr $x+1]; exp_continue; }
711
        -re ".* 226      DEF0" { set x [expr $x+1]; exp_continue; }
712
        -re ".* 227              " {
713
            if [expr $x == 53] then {
714
                pass "$testname: cmp.b @(0x12345678:32,er3.l), ..."
715
            } else {
716
                fail "$testname: cmp.b @(0x12345678:32,er3.l), ... ($x)"
717
            }
718
        }
719
        default { fail "$testname: cmp.b @(0x12345678:32,er3.l), ... ($x)" }
720
    }
721
 
722
    set x 0
723
    expect {
724
        -re ".* 228 07c6 6A151234" { set x [expr $x+1]; exp_continue; }
725
        -re ".* 228      0120" { set x [expr $x+1]; exp_continue; }
726
        -re ".* 229 07cc 6A151234" { set x [expr $x+1]; exp_continue; }
727
        -re ".* 229      3120" { set x [expr $x+1]; exp_continue; }
728
        -re ".* 230 07d2 6A151234" { set x [expr $x+1]; exp_continue; }
729
        -re ".* 230      B120" { set x [expr $x+1]; exp_continue; }
730
        -re ".* 231 07d8 6A151234" { set x [expr $x+1]; exp_continue; }
731
        -re ".* 231      8120" { set x [expr $x+1]; exp_continue; }
732
        -re ".* 232 07de 6A151234" { set x [expr $x+1]; exp_continue; }
733
        -re ".* 232      A120" { set x [expr $x+1]; exp_continue; }
734
        -re ".* 233 07e4 6A151234" { set x [expr $x+1]; exp_continue; }
735
        -re ".* 233      9120" { set x [expr $x+1]; exp_continue; }
736
        -re ".* 234 07ea 6A151234" { set x [expr $x+1]; exp_continue; }
737
        -re ".* 234      C1209ABC" { set x [expr $x+1]; exp_continue; }
738
        -re ".* 235 07f2 6A151234" { set x [expr $x+1]; exp_continue; }
739
        -re ".* 235      C9209ABC" { set x [expr $x+1]; exp_continue; }
740
        -re ".* 235      DEF0" { set x [expr $x+1]; exp_continue; }
741
        -re ".* 236 07fc 6A151234" { set x [expr $x+1]; exp_continue; }
742
        -re ".* 236      D2209ABC" { set x [expr $x+1]; exp_continue; }
743
        -re ".* 237 0804 6A151234" { set x [expr $x+1]; exp_continue; }
744
        -re ".* 237      E2209ABC" { set x [expr $x+1]; exp_continue; }
745
        -re ".* 238 080c 6A151234" { set x [expr $x+1]; exp_continue; }
746
        -re ".* 238      F2209ABC" { set x [expr $x+1]; exp_continue; }
747
        -re ".* 239 0814 6A151234" { set x [expr $x+1]; exp_continue; }
748
        -re ".* 239      DA209ABC" { set x [expr $x+1]; exp_continue; }
749
        -re ".* 239      DEF0" { set x [expr $x+1]; exp_continue; }
750
        -re ".* 240 081e 6A151234" { set x [expr $x+1]; exp_continue; }
751
        -re ".* 240      EA209ABC" { set x [expr $x+1]; exp_continue; }
752
        -re ".* 240      DEF0" { set x [expr $x+1]; exp_continue; }
753
        -re ".* 241 0828 6A151234" { set x [expr $x+1]; exp_continue; }
754
        -re ".* 241      FA209ABC" { set x [expr $x+1]; exp_continue; }
755
        -re ".* 241      DEF0" { set x [expr $x+1]; exp_continue; }
756
        -re ".* 242 0832 6A151234" { set x [expr $x+1]; exp_continue; }
757
        -re ".* 242      40209ABC" { set x [expr $x+1]; exp_continue; }
758
        -re ".* 243 083a 6A151234" { set x [expr $x+1]; exp_continue; }
759
        -re ".* 243      48209ABC" { set x [expr $x+1]; exp_continue; }
760
        -re ".* 243      DEF0" { set x [expr $x+1]; exp_continue; }
761
        -re ".* 244              " {
762
            if [expr $x == 37] then {
763
                pass "$testname: cmp.b @0x1234:16, ..."
764
            } else {
765
                fail "$testname: cmp.b @0x1234:16, ... ($x)"
766
            }
767
        }
768
        default { fail "$testname: cmp.b @0x1234:16, ... ($x)" }
769
    }
770
 
771
    set x 0
772
    expect {
773
        -re ".* 245 0844 6A351234" { set x [expr $x+1]; exp_continue; }
774
        -re ".* 245      56780120" { set x [expr $x+1]; exp_continue; }
775
        -re ".* 246 084c 6A351234" { set x [expr $x+1]; exp_continue; }
776
        -re ".* 246      56783120" { set x [expr $x+1]; exp_continue; }
777
        -re ".* 247 0854 6A351234" { set x [expr $x+1]; exp_continue; }
778
        -re ".* 247      5678B120" { set x [expr $x+1]; exp_continue; }
779
        -re ".* 248 085c 6A351234" { set x [expr $x+1]; exp_continue; }
780
        -re ".* 248      56788120" { set x [expr $x+1]; exp_continue; }
781
        -re ".* 249 0864 6A351234" { set x [expr $x+1]; exp_continue; }
782
        -re ".* 249      5678A120" { set x [expr $x+1]; exp_continue; }
783
        -re ".* 250 086c 6A351234" { set x [expr $x+1]; exp_continue; }
784
        -re ".* 250      56789120" { set x [expr $x+1]; exp_continue; }
785
        -re ".* 251 0874 6A351234" { set x [expr $x+1]; exp_continue; }
786
        -re ".* 251      5678C120" { set x [expr $x+1]; exp_continue; }
787
        -re ".* 251      9ABC" { set x [expr $x+1]; exp_continue; }
788
        -re ".* 252 087e 6A351234" { set x [expr $x+1]; exp_continue; }
789
        -re ".* 252      5678C920" { set x [expr $x+1]; exp_continue; }
790
        -re ".* 252      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
791
        -re ".* 253 088a 6A351234" { set x [expr $x+1]; exp_continue; }
792
        -re ".* 253      5678D220" { set x [expr $x+1]; exp_continue; }
793
        -re ".* 253      9ABC" { set x [expr $x+1]; exp_continue; }
794
        -re ".* 254 0894 6A351234" { set x [expr $x+1]; exp_continue; }
795
        -re ".* 254      5678E220" { set x [expr $x+1]; exp_continue; }
796
        -re ".* 254      9ABC" { set x [expr $x+1]; exp_continue; }
797
        -re ".* 255 089e 6A351234" { set x [expr $x+1]; exp_continue; }
798
        -re ".* 255      5678F220" { set x [expr $x+1]; exp_continue; }
799
        -re ".* 255      9ABC" { set x [expr $x+1]; exp_continue; }
800
        -re ".* 256 08a8 6A351234" { set x [expr $x+1]; exp_continue; }
801
        -re ".* 256      5678DA20" { set x [expr $x+1]; exp_continue; }
802
        -re ".* 256      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
803
        -re ".* 257 08b4 6A351234" { set x [expr $x+1]; exp_continue; }
804
        -re ".* 257      5678EA20" { set x [expr $x+1]; exp_continue; }
805
        -re ".* 257      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
806
        -re ".* 258 08c0 6A351234" { set x [expr $x+1]; exp_continue; }
807
        -re ".* 258      5678FA20" { set x [expr $x+1]; exp_continue; }
808
        -re ".* 258      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
809
        -re ".* 259 08cc 6A351234" { set x [expr $x+1]; exp_continue; }
810
        -re ".* 259      56784020" { set x [expr $x+1]; exp_continue; }
811
        -re ".* 259      9ABC" { set x [expr $x+1]; exp_continue; }
812
        -re ".* 260 08d6 6A351234" { set x [expr $x+1]; exp_continue; }
813
        -re ".* 260      56784820" { set x [expr $x+1]; exp_continue; }
814
        -re ".* 260      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
815
        -re ".* 261              " {
816
            if [expr $x == 42] then {
817
                pass "$testname: cmp.b @0x12345678:32, ..."
818
            } else {
819
                fail "$testname: cmp.b @0x12345678:32, ... ($x)"
820
            }
821
        }
822
        default { fail "$testname: cmp.b @0x12345678:32, ... ($x)" }
823
    }
824
 
825
    set x 0
826
    expect {
827
        -re ".* 262 08e2 79211234" { set x [expr $x+1]; exp_continue; }
828
        -re ".* 263 08e6 1F72" { set x [expr $x+1]; exp_continue; }
829
        -re ".* 264 08e8 015E0120" { set x [expr $x+1]; exp_continue; }
830
        -re ".* 264      1234" { set x [expr $x+1]; exp_continue; }
831
        -re ".* 265 08ee 015E3120" { set x [expr $x+1]; exp_continue; }
832
        -re ".* 265      1234" { set x [expr $x+1]; exp_continue; }
833
        -re ".* 266 08f4 015E8120" { set x [expr $x+1]; exp_continue; }
834
        -re ".* 266      1234" { set x [expr $x+1]; exp_continue; }
835
        -re ".* 267 08fa 015EB120" { set x [expr $x+1]; exp_continue; }
836
        -re ".* 267      1234" { set x [expr $x+1]; exp_continue; }
837
        -re ".* 268 0900 015E9120" { set x [expr $x+1]; exp_continue; }
838
        -re ".* 268      1234" { set x [expr $x+1]; exp_continue; }
839
        -re ".* 269 0906 015EA120" { set x [expr $x+1]; exp_continue; }
840
        -re ".* 269      1234" { set x [expr $x+1]; exp_continue; }
841
        -re ".* 270 090c 015EC120" { set x [expr $x+1]; exp_continue; }
842
        -re ".* 270      9ABC1234" { set x [expr $x+1]; exp_continue; }
843
        -re ".* 271 0914 015EC920" { set x [expr $x+1]; exp_continue; }
844
        -re ".* 271      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
845
        -re ".* 271      1234" { set x [expr $x+1]; exp_continue; }
846
        -re ".* 272 091e 015ED220" { set x [expr $x+1]; exp_continue; }
847
        -re ".* 272      9ABC1234" { set x [expr $x+1]; exp_continue; }
848
        -re ".* 273 0926 015EE220" { set x [expr $x+1]; exp_continue; }
849
        -re ".* 273      9ABC1234" { set x [expr $x+1]; exp_continue; }
850
        -re ".* 274 092e 015EF220" { set x [expr $x+1]; exp_continue; }
851
        -re ".* 274      9ABC1234" { set x [expr $x+1]; exp_continue; }
852
        -re ".* 275 0936 015EDA20" { set x [expr $x+1]; exp_continue; }
853
        -re ".* 275      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
854
        -re ".* 275      1234" { set x [expr $x+1]; exp_continue; }
855
        -re ".* 276 0940 015EEA20" { set x [expr $x+1]; exp_continue; }
856
        -re ".* 276      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
857
        -re ".* 276      1234" { set x [expr $x+1]; exp_continue; }
858
        -re ".* 277 094a 015EFA20" { set x [expr $x+1]; exp_continue; }
859
        -re ".* 277      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
860
        -re ".* 277      1234" { set x [expr $x+1]; exp_continue; }
861
        -re ".* 278 0954 015E4020" { set x [expr $x+1]; exp_continue; }
862
        -re ".* 278      9ABC1234" { set x [expr $x+1]; exp_continue; }
863
        -re ".* 279 095c 015E4820" { set x [expr $x+1]; exp_continue; }
864
        -re ".* 279      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
865
        -re ".* 279      1234" { set x [expr $x+1]; exp_continue; }
866
        -re ".* 280              " {
867
            if [expr $x == 39] then {
868
                pass "$testname: cmp.w #0x1234:16, ..."
869
            } else {
870
                fail "$testname: cmp.w #0x1234:16, ... ($x)"
871
            }
872
        }
873
        default { fail "$testname: cmp.w #0x1234:16, ... ($x)" }
874
    }
875
 
876
    set x 0
877
    expect {
878
        -re ".* 281 0966 7D901F70" { set x [expr $x+1]; exp_continue; }
879
        -re ".* 282 096a 6B181234" { set x [expr $x+1]; exp_continue; }
880
        -re ".* 282      1F70" { set x [expr $x+1]; exp_continue; }
881
        -re ".* 283 0970 6B381234" { set x [expr $x+1]; exp_continue; }
882
        -re ".* 283      56781F70" { set x [expr $x+1]; exp_continue; }
883
        -re ".* 284              " {
884
            if [expr $x == 5] then {
885
                pass "$testname: cmp.w #0x7:3, ..."
886
            } else {
887
                fail "$testname: cmp.w #0x7:3, ... ($x)"
888
            }
889
        }
890
        default { fail "$testname: cmp.w #0x7:3, ... ($x)" }
891
    }
892
 
893
    set x 0
894
    expect {
895
        -re ".* 285 0978 1D31" { set x [expr $x+1]; exp_continue; }
896
        -re ".* 286              " {
897
            if [expr $x == 1] then {
898
                pass "$testname: cmp.w r3, r1"
899
            } else {
900
                fail "$testname: cmp.w r3, r1 ($x)"
901
            }
902
        }
903
        default { fail "$testname: cmp.w r3, r1 ($x)" }
904
    }
905
 
906
    set x 0
907
    expect {
908
        -re ".* 287 097a 7D901D30" { set x [expr $x+1]; exp_continue; }
909
        -re ".* 288 097e 01593123" { set x [expr $x+1]; exp_continue; }
910
        -re ".* 289 0982 01598123" { set x [expr $x+1]; exp_continue; }
911
        -re ".* 290 0986 0159B123" { set x [expr $x+1]; exp_continue; }
912
        -re ".* 291 098a 01599123" { set x [expr $x+1]; exp_continue; }
913
        -re ".* 292 098e 0159A123" { set x [expr $x+1]; exp_continue; }
914
        -re ".* 293 0992 0159C123" { set x [expr $x+1]; exp_continue; }
915
        -re ".* 293      1234" { set x [expr $x+1]; exp_continue; }
916
        -re ".* 294 0998 0159C923" { set x [expr $x+1]; exp_continue; }
917
        -re ".* 294      12345678" { set x [expr $x+1]; exp_continue; }
918
        -re ".* 295 09a0 0159D223" { set x [expr $x+1]; exp_continue; }
919
        -re ".* 295      1234" { set x [expr $x+1]; exp_continue; }
920
        -re ".* 296 09a6 0159E223" { set x [expr $x+1]; exp_continue; }
921
        -re ".* 296      1234" { set x [expr $x+1]; exp_continue; }
922
        -re ".* 297 09ac 0159F223" { set x [expr $x+1]; exp_continue; }
923
        -re ".* 297      1234" { set x [expr $x+1]; exp_continue; }
924
        -re ".* 298 09b2 0159DA23" { set x [expr $x+1]; exp_continue; }
925
        -re ".* 298      12345678" { set x [expr $x+1]; exp_continue; }
926
        -re ".* 299 09ba 0159EA23" { set x [expr $x+1]; exp_continue; }
927
        -re ".* 299      12345678" { set x [expr $x+1]; exp_continue; }
928
        -re ".* 300 09c2 0159FA23" { set x [expr $x+1]; exp_continue; }
929
        -re ".* 300      12345678" { set x [expr $x+1]; exp_continue; }
930
        -re ".* 301 09ca 6B181234" { set x [expr $x+1]; exp_continue; }
931
        -re ".* 301      1D30" { set x [expr $x+1]; exp_continue; }
932
        -re ".* 302 09d0 6B381234" { set x [expr $x+1]; exp_continue; }
933
        -re ".* 302      56781D30" { set x [expr $x+1]; exp_continue; }
934
        -re ".* 303              " {
935
            if [expr $x == 26] then {
936
                pass "$testname: cmp.w r3, ..."
937
            } else {
938
                fail "$testname: cmp.w r3, ... ($x)"
939
            }
940
        }
941
        default { fail "$testname: cmp.w r3, ... ($x)" }
942
    }
943
 
944
    set x 0
945
    expect {
946
        -re ".* 304 09d8 7CB01D01" { set x [expr $x+1]; exp_continue; }
947
        -re ".* 305 09dc 015A3321" { set x [expr $x+1]; exp_continue; }
948
        -re ".* 306 09e0 015A8321" { set x [expr $x+1]; exp_continue; }
949
        -re ".* 307 09e4 015AB321" { set x [expr $x+1]; exp_continue; }
950
        -re ".* 308 09e8 015A9321" { set x [expr $x+1]; exp_continue; }
951
        -re ".* 309 09ec 015AA321" { set x [expr $x+1]; exp_continue; }
952
        -re ".* 310 09f0 015AC121" { set x [expr $x+1]; exp_continue; }
953
        -re ".* 310      1234" { set x [expr $x+1]; exp_continue; }
954
        -re ".* 311 09f6 015AC921" { set x [expr $x+1]; exp_continue; }
955
        -re ".* 311      12345678" { set x [expr $x+1]; exp_continue; }
956
        -re ".* 312 09fe 015AD221" { set x [expr $x+1]; exp_continue; }
957
        -re ".* 312      1234" { set x [expr $x+1]; exp_continue; }
958
        -re ".* 313 0a04 015AE221" { set x [expr $x+1]; exp_continue; }
959
        -re ".* 313      1234" { set x [expr $x+1]; exp_continue; }
960
        -re ".* 314 0a0a 015AF221" { set x [expr $x+1]; exp_continue; }
961
        -re ".* 314      1234" { set x [expr $x+1]; exp_continue; }
962
        -re ".* 315 0a10 015ADA21" { set x [expr $x+1]; exp_continue; }
963
        -re ".* 315      12345678" { set x [expr $x+1]; exp_continue; }
964
        -re ".* 316 0a18 015AEA21" { set x [expr $x+1]; exp_continue; }
965
        -re ".* 316      12345678" { set x [expr $x+1]; exp_continue; }
966
        -re ".* 317 0a20 015AFA21" { set x [expr $x+1]; exp_continue; }
967
        -re ".* 317      12345678" { set x [expr $x+1]; exp_continue; }
968
        -re ".* 318 0a28 6B101234" { set x [expr $x+1]; exp_continue; }
969
        -re ".* 318      1D01" { set x [expr $x+1]; exp_continue; }
970
        -re ".* 319 0a2e 6B301234" { set x [expr $x+1]; exp_continue; }
971
        -re ".* 319      56781D01" { set x [expr $x+1]; exp_continue; }
972
        -re ".* 320              " {
973
            if [expr $x == 26] then {
974
                pass "$testname: cmp.w ..., r1"
975
            } else {
976
                fail "$testname: cmp.w ..., r1 ($x)"
977
            }
978
        }
979
        default { fail "$testname: cmp.w ..., r1 ($x)" }
980
    }
981
 
982
    set x 0
983
    expect {
984
        -re ".* 321 0a36 7CB50120" { set x [expr $x+1]; exp_continue; }
985
        -re ".* 322 0a3a 7CB53120" { set x [expr $x+1]; exp_continue; }
986
        -re ".* 323 0a3e 7CB5B120" { set x [expr $x+1]; exp_continue; }
987
        -re ".* 324 0a42 7CB58120" { set x [expr $x+1]; exp_continue; }
988
        -re ".* 325 0a46 7CB5A120" { set x [expr $x+1]; exp_continue; }
989
        -re ".* 326 0a4a 7CB59120" { set x [expr $x+1]; exp_continue; }
990
        -re ".* 327 0a4e 7CB5C120" { set x [expr $x+1]; exp_continue; }
991
        -re ".* 327      9ABC" { set x [expr $x+1]; exp_continue; }
992
        -re ".* 328 0a54 7CB5C920" { set x [expr $x+1]; exp_continue; }
993
        -re ".* 328      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
994
        -re ".* 329 0a5c 7CB5D220" { set x [expr $x+1]; exp_continue; }
995
        -re ".* 329      9ABC" { set x [expr $x+1]; exp_continue; }
996
        -re ".* 330 0a62 7CB5E220" { set x [expr $x+1]; exp_continue; }
997
        -re ".* 330      9ABC" { set x [expr $x+1]; exp_continue; }
998
        -re ".* 331 0a68 7CB5F220" { set x [expr $x+1]; exp_continue; }
999
        -re ".* 331      9ABC" { set x [expr $x+1]; exp_continue; }
1000
        -re ".* 332 0a6e 7CB5DA20" { set x [expr $x+1]; exp_continue; }
1001
        -re ".* 332      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1002
        -re ".* 333 0a76 7CB5EA20" { set x [expr $x+1]; exp_continue; }
1003
        -re ".* 333      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1004
        -re ".* 334 0a7e 7CB5FA20" { set x [expr $x+1]; exp_continue; }
1005
        -re ".* 334      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1006
        -re ".* 335 0a86 7CB54020" { set x [expr $x+1]; exp_continue; }
1007
        -re ".* 335      9ABC" { set x [expr $x+1]; exp_continue; }
1008
        -re ".* 336 0a8c 7CB54820" { set x [expr $x+1]; exp_continue; }
1009
        -re ".* 336      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1010
        -re ".* 337              " {
1011
            if [expr $x == 26] then {
1012
                pass "$testname: cmp.w @er3, ..."
1013
            } else {
1014
                fail "$testname: cmp.w @er3, ... ($x)"
1015
            }
1016
        }
1017
        default { fail "$testname: cmp.w @er3, ... ($x)" }
1018
    }
1019
 
1020
    set x 0
1021
    expect {
1022
        -re ".* 338 0a94 01576D3C" { set x [expr $x+1]; exp_continue; }
1023
        -re ".* 338      0120" { set x [expr $x+1]; exp_continue; }
1024
        -re ".* 339 0a9a 01576D3C" { set x [expr $x+1]; exp_continue; }
1025
        -re ".* 339      3120" { set x [expr $x+1]; exp_continue; }
1026
        -re ".* 340 0aa0 01576D3C" { set x [expr $x+1]; exp_continue; }
1027
        -re ".* 340      B120" { set x [expr $x+1]; exp_continue; }
1028
        -re ".* 341 0aa6 01576D3C" { set x [expr $x+1]; exp_continue; }
1029
        -re ".* 341      8120" { set x [expr $x+1]; exp_continue; }
1030
        -re ".* 342 0aac 01576D3C" { set x [expr $x+1]; exp_continue; }
1031
        -re ".* 342      A120" { set x [expr $x+1]; exp_continue; }
1032
        -re ".* 343 0ab2 01576D3C" { set x [expr $x+1]; exp_continue; }
1033
        -re ".* 343      9120" { set x [expr $x+1]; exp_continue; }
1034
        -re ".* 344 0ab8 01576D3C" { set x [expr $x+1]; exp_continue; }
1035
        -re ".* 344      C1209ABC" { set x [expr $x+1]; exp_continue; }
1036
        -re ".* 345 0ac0 01576D3C" { set x [expr $x+1]; exp_continue; }
1037
        -re ".* 345      C9209ABC" { set x [expr $x+1]; exp_continue; }
1038
        -re ".* 345      DEF0" { set x [expr $x+1]; exp_continue; }
1039
        -re ".* 346 0aca 01576D3C" { set x [expr $x+1]; exp_continue; }
1040
        -re ".* 346      D2209ABC" { set x [expr $x+1]; exp_continue; }
1041
        -re ".* 347 0ad2 01576D3C" { set x [expr $x+1]; exp_continue; }
1042
        -re ".* 347      E2209ABC" { set x [expr $x+1]; exp_continue; }
1043
        -re ".* 348 0ada 01576D3C" { set x [expr $x+1]; exp_continue; }
1044
        -re ".* 348      F2209ABC" { set x [expr $x+1]; exp_continue; }
1045
        -re ".* 349 0ae2 01576D3C" { set x [expr $x+1]; exp_continue; }
1046
        -re ".* 349      DA209ABC" { set x [expr $x+1]; exp_continue; }
1047
        -re ".* 349      DEF0" { set x [expr $x+1]; exp_continue; }
1048
        -re ".* 350 0aec 01576D3C" { set x [expr $x+1]; exp_continue; }
1049
        -re ".* 350      EA209ABC" { set x [expr $x+1]; exp_continue; }
1050
        -re ".* 350      DEF0" { set x [expr $x+1]; exp_continue; }
1051
        -re ".* 351 0af6 01576D3C" { set x [expr $x+1]; exp_continue; }
1052
        -re ".* 351      FA209ABC" { set x [expr $x+1]; exp_continue; }
1053
        -re ".* 351      DEF0" { set x [expr $x+1]; exp_continue; }
1054
        -re ".* 352 0b00 01576D3C" { set x [expr $x+1]; exp_continue; }
1055
        -re ".* 352      40209ABC" { set x [expr $x+1]; exp_continue; }
1056
        -re ".* 353 0b08 01576D3C" { set x [expr $x+1]; exp_continue; }
1057
        -re ".* 353      48209ABC" { set x [expr $x+1]; exp_continue; }
1058
        -re ".* 353      DEF0" { set x [expr $x+1]; exp_continue; }
1059
        -re ".* 354              " {
1060
            if [expr $x == 37] then {
1061
                pass "$testname: cmp.w @-er3, ..."
1062
            } else {
1063
                fail "$testname: cmp.w @-er3, ... ($x)"
1064
            }
1065
        }
1066
        default { fail "$testname: cmp.w @-er3, ... ($x)" }
1067
    }
1068
 
1069
    set x 0
1070
    expect {
1071
        -re ".* 355 0b12 01546D3C" { set x [expr $x+1]; exp_continue; }
1072
        -re ".* 355      0120" { set x [expr $x+1]; exp_continue; }
1073
        -re ".* 356 0b18 01546D3C" { set x [expr $x+1]; exp_continue; }
1074
        -re ".* 356      3120" { set x [expr $x+1]; exp_continue; }
1075
        -re ".* 357 0b1e 01546D3C" { set x [expr $x+1]; exp_continue; }
1076
        -re ".* 357      B120" { set x [expr $x+1]; exp_continue; }
1077
        -re ".* 358 0b24 01546D3C" { set x [expr $x+1]; exp_continue; }
1078
        -re ".* 358      8120" { set x [expr $x+1]; exp_continue; }
1079
        -re ".* 359 0b2a 01546D3C" { set x [expr $x+1]; exp_continue; }
1080
        -re ".* 359      A120" { set x [expr $x+1]; exp_continue; }
1081
        -re ".* 360 0b30 01546D3C" { set x [expr $x+1]; exp_continue; }
1082
        -re ".* 360      9120" { set x [expr $x+1]; exp_continue; }
1083
        -re ".* 361 0b36 01546D3C" { set x [expr $x+1]; exp_continue; }
1084
        -re ".* 361      C1209ABC" { set x [expr $x+1]; exp_continue; }
1085
        -re ".* 362 0b3e 01546D3C" { set x [expr $x+1]; exp_continue; }
1086
        -re ".* 362      C9209ABC" { set x [expr $x+1]; exp_continue; }
1087
        -re ".* 362      DEF0" { set x [expr $x+1]; exp_continue; }
1088
        -re ".* 363 0b48 01546D3C" { set x [expr $x+1]; exp_continue; }
1089
        -re ".* 363      D2209ABC" { set x [expr $x+1]; exp_continue; }
1090
        -re ".* 364 0b50 01546D3C" { set x [expr $x+1]; exp_continue; }
1091
        -re ".* 364      E2209ABC" { set x [expr $x+1]; exp_continue; }
1092
        -re ".* 365 0b58 01546D3C" { set x [expr $x+1]; exp_continue; }
1093
        -re ".* 365      F2209ABC" { set x [expr $x+1]; exp_continue; }
1094
        -re ".* 366 0b60 01546D3C" { set x [expr $x+1]; exp_continue; }
1095
        -re ".* 366      DA209ABC" { set x [expr $x+1]; exp_continue; }
1096
        -re ".* 366      DEF0" { set x [expr $x+1]; exp_continue; }
1097
        -re ".* 367 0b6a 01546D3C" { set x [expr $x+1]; exp_continue; }
1098
        -re ".* 367      EA209ABC" { set x [expr $x+1]; exp_continue; }
1099
        -re ".* 367      DEF0" { set x [expr $x+1]; exp_continue; }
1100
        -re ".* 368 0b74 01546D3C" { set x [expr $x+1]; exp_continue; }
1101
        -re ".* 368      FA209ABC" { set x [expr $x+1]; exp_continue; }
1102
        -re ".* 368      DEF0" { set x [expr $x+1]; exp_continue; }
1103
        -re ".* 369 0b7e 01546D3C" { set x [expr $x+1]; exp_continue; }
1104
        -re ".* 369      40209ABC" { set x [expr $x+1]; exp_continue; }
1105
        -re ".* 370 0b86 01546D3C" { set x [expr $x+1]; exp_continue; }
1106
        -re ".* 370      48209ABC" { set x [expr $x+1]; exp_continue; }
1107
        -re ".* 370      DEF0" { set x [expr $x+1]; exp_continue; }
1108
        -re ".* 371              " {
1109
            if [expr $x == 37] then {
1110
                pass "$testname: cmp.w @er3+, ..."
1111
            } else {
1112
                fail "$testname: cmp.w @er3+, ... ($x)"
1113
            }
1114
        }
1115
        default { fail "$testname: cmp.w @er3+, ... ($x)" }
1116
    }
1117
 
1118
    set x 0
1119
    expect {
1120
        -re ".* 372 0b90 01566D3C" { set x [expr $x+1]; exp_continue; }
1121
        -re ".* 372      0120" { set x [expr $x+1]; exp_continue; }
1122
        -re ".* 373 0b96 01566D3C" { set x [expr $x+1]; exp_continue; }
1123
        -re ".* 373      3120" { set x [expr $x+1]; exp_continue; }
1124
        -re ".* 374 0b9c 01566D3C" { set x [expr $x+1]; exp_continue; }
1125
        -re ".* 374      B120" { set x [expr $x+1]; exp_continue; }
1126
        -re ".* 375 0ba2 01566D3C" { set x [expr $x+1]; exp_continue; }
1127
        -re ".* 375      8120" { set x [expr $x+1]; exp_continue; }
1128
        -re ".* 376 0ba8 01566D3C" { set x [expr $x+1]; exp_continue; }
1129
        -re ".* 376      A120" { set x [expr $x+1]; exp_continue; }
1130
        -re ".* 377 0bae 01566D3C" { set x [expr $x+1]; exp_continue; }
1131
        -re ".* 377      9120" { set x [expr $x+1]; exp_continue; }
1132
        -re ".* 378 0bb4 01566D3C" { set x [expr $x+1]; exp_continue; }
1133
        -re ".* 378      C1209ABC" { set x [expr $x+1]; exp_continue; }
1134
        -re ".* 379 0bbc 01566D3C" { set x [expr $x+1]; exp_continue; }
1135
        -re ".* 379      C9209ABC" { set x [expr $x+1]; exp_continue; }
1136
        -re ".* 379      DEF0" { set x [expr $x+1]; exp_continue; }
1137
        -re ".* 380 0bc6 01566D3C" { set x [expr $x+1]; exp_continue; }
1138
        -re ".* 380      D2209ABC" { set x [expr $x+1]; exp_continue; }
1139
        -re ".* 381 0bce 01566D3C" { set x [expr $x+1]; exp_continue; }
1140
        -re ".* 381      E2209ABC" { set x [expr $x+1]; exp_continue; }
1141
        -re ".* 382 0bd6 01566D3C" { set x [expr $x+1]; exp_continue; }
1142
        -re ".* 382      F2209ABC" { set x [expr $x+1]; exp_continue; }
1143
        -re ".* 383 0bde 01566D3C" { set x [expr $x+1]; exp_continue; }
1144
        -re ".* 383      DA209ABC" { set x [expr $x+1]; exp_continue; }
1145
        -re ".* 383      DEF0" { set x [expr $x+1]; exp_continue; }
1146
        -re ".* 384 0be8 01566D3C" { set x [expr $x+1]; exp_continue; }
1147
        -re ".* 384      EA209ABC" { set x [expr $x+1]; exp_continue; }
1148
        -re ".* 384      DEF0" { set x [expr $x+1]; exp_continue; }
1149
        -re ".* 385 0bf2 01566D3C" { set x [expr $x+1]; exp_continue; }
1150
        -re ".* 385      FA209ABC" { set x [expr $x+1]; exp_continue; }
1151
        -re ".* 385      DEF0" { set x [expr $x+1]; exp_continue; }
1152
        -re ".* 386 0bfc 01566D3C" { set x [expr $x+1]; exp_continue; }
1153
        -re ".* 386      40209ABC" { set x [expr $x+1]; exp_continue; }
1154
        -re ".* 387 0c04 01566D3C" { set x [expr $x+1]; exp_continue; }
1155
        -re ".* 387      48209ABC" { set x [expr $x+1]; exp_continue; }
1156
        -re ".* 387      DEF0" { set x [expr $x+1]; exp_continue; }
1157
        -re ".* 388              " {
1158
            if [expr $x == 37] then {
1159
                pass "$testname: cmp.w @er3-, ..."
1160
            } else {
1161
                fail "$testname: cmp.w @er3-, ... ($x)"
1162
            }
1163
        }
1164
        default { fail "$testname: cmp.w @er3-, ... ($x)" }
1165
    }
1166
 
1167
    set x 0
1168
    expect {
1169
        -re ".* 389 0c0e 01556D3C" { set x [expr $x+1]; exp_continue; }
1170
        -re ".* 389      0120" { set x [expr $x+1]; exp_continue; }
1171
        -re ".* 390 0c14 01556D3C" { set x [expr $x+1]; exp_continue; }
1172
        -re ".* 390      3120" { set x [expr $x+1]; exp_continue; }
1173
        -re ".* 391 0c1a 01556D3C" { set x [expr $x+1]; exp_continue; }
1174
        -re ".* 391      B120" { set x [expr $x+1]; exp_continue; }
1175
        -re ".* 392 0c20 01556D3C" { set x [expr $x+1]; exp_continue; }
1176
        -re ".* 392      8120" { set x [expr $x+1]; exp_continue; }
1177
        -re ".* 393 0c26 01556D3C" { set x [expr $x+1]; exp_continue; }
1178
        -re ".* 393      A120" { set x [expr $x+1]; exp_continue; }
1179
        -re ".* 394 0c2c 01556D3C" { set x [expr $x+1]; exp_continue; }
1180
        -re ".* 394      9120" { set x [expr $x+1]; exp_continue; }
1181
        -re ".* 395 0c32 01556D3C" { set x [expr $x+1]; exp_continue; }
1182
        -re ".* 395      C1209ABC" { set x [expr $x+1]; exp_continue; }
1183
        -re ".* 396 0c3a 01556D3C" { set x [expr $x+1]; exp_continue; }
1184
        -re ".* 396      C9209ABC" { set x [expr $x+1]; exp_continue; }
1185
        -re ".* 396      DEF0" { set x [expr $x+1]; exp_continue; }
1186
        -re ".* 397 0c44 01556D3C" { set x [expr $x+1]; exp_continue; }
1187
        -re ".* 397      D2209ABC" { set x [expr $x+1]; exp_continue; }
1188
        -re ".* 398 0c4c 01556D3C" { set x [expr $x+1]; exp_continue; }
1189
        -re ".* 398      E2209ABC" { set x [expr $x+1]; exp_continue; }
1190
        -re ".* 399 0c54 01556D3C" { set x [expr $x+1]; exp_continue; }
1191
        -re ".* 399      F2209ABC" { set x [expr $x+1]; exp_continue; }
1192
        -re ".* 400 0c5c 01556D3C" { set x [expr $x+1]; exp_continue; }
1193
        -re ".* 400      DA209ABC" { set x [expr $x+1]; exp_continue; }
1194
        -re ".* 400      DEF0" { set x [expr $x+1]; exp_continue; }
1195
        -re ".* 401 0c66 01556D3C" { set x [expr $x+1]; exp_continue; }
1196
        -re ".* 401      EA209ABC" { set x [expr $x+1]; exp_continue; }
1197
        -re ".* 401      DEF0" { set x [expr $x+1]; exp_continue; }
1198
        -re ".* 402 0c70 01556D3C" { set x [expr $x+1]; exp_continue; }
1199
        -re ".* 402      FA209ABC" { set x [expr $x+1]; exp_continue; }
1200
        -re ".* 402      DEF0" { set x [expr $x+1]; exp_continue; }
1201
        -re ".* 403 0c7a 01556D3C" { set x [expr $x+1]; exp_continue; }
1202
        -re ".* 403      40209ABC" { set x [expr $x+1]; exp_continue; }
1203
        -re ".* 404 0c82 01556D3C" { set x [expr $x+1]; exp_continue; }
1204
        -re ".* 404      48209ABC" { set x [expr $x+1]; exp_continue; }
1205
        -re ".* 404      DEF0" { set x [expr $x+1]; exp_continue; }
1206
        -re ".* 405              " {
1207
            if [expr $x == 37] then {
1208
                pass "$testname: cmp.w @+er3, ..."
1209
            } else {
1210
                fail "$testname: cmp.w @+er3, ... ($x)"
1211
            }
1212
        }
1213
        default { fail "$testname: cmp.w @+er3, ... ($x)" }
1214
    }
1215
 
1216
    set x 0
1217
    expect {
1218
        -re ".* 406 0c8c 01546F3C" { set x [expr $x+1]; exp_continue; }
1219
        -re ".* 406      12340120" { set x [expr $x+1]; exp_continue; }
1220
        -re ".* 407 0c94 01546F3C" { set x [expr $x+1]; exp_continue; }
1221
        -re ".* 407      12343120" { set x [expr $x+1]; exp_continue; }
1222
        -re ".* 408 0c9c 01546F3C" { set x [expr $x+1]; exp_continue; }
1223
        -re ".* 408      1234B120" { set x [expr $x+1]; exp_continue; }
1224
        -re ".* 409 0ca4 01546F3C" { set x [expr $x+1]; exp_continue; }
1225
        -re ".* 409      12348120" { set x [expr $x+1]; exp_continue; }
1226
        -re ".* 410 0cac 01546F3C" { set x [expr $x+1]; exp_continue; }
1227
        -re ".* 410      1234A120" { set x [expr $x+1]; exp_continue; }
1228
        -re ".* 411 0cb4 01546F3C" { set x [expr $x+1]; exp_continue; }
1229
        -re ".* 411      12349120" { set x [expr $x+1]; exp_continue; }
1230
        -re ".* 412 0cbc 01546F3C" { set x [expr $x+1]; exp_continue; }
1231
        -re ".* 412      1234C120" { set x [expr $x+1]; exp_continue; }
1232
        -re ".* 412      9ABC" { set x [expr $x+1]; exp_continue; }
1233
        -re ".* 413 0cc6 01546F3C" { set x [expr $x+1]; exp_continue; }
1234
        -re ".* 413      1234C920" { set x [expr $x+1]; exp_continue; }
1235
        -re ".* 413      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1236
        -re ".* 414 0cd2 01546F3C" { set x [expr $x+1]; exp_continue; }
1237
        -re ".* 414      1234D220" { set x [expr $x+1]; exp_continue; }
1238
        -re ".* 414      9ABC" { set x [expr $x+1]; exp_continue; }
1239
        -re ".* 415 0cdc 01546F3C" { set x [expr $x+1]; exp_continue; }
1240
        -re ".* 415      1234E220" { set x [expr $x+1]; exp_continue; }
1241
        -re ".* 415      9ABC" { set x [expr $x+1]; exp_continue; }
1242
        -re ".* 416 0ce6 01546F3C" { set x [expr $x+1]; exp_continue; }
1243
        -re ".* 416      1234F220" { set x [expr $x+1]; exp_continue; }
1244
        -re ".* 416      9ABC" { set x [expr $x+1]; exp_continue; }
1245
        -re ".* 417 0cf0 01546F3C" { set x [expr $x+1]; exp_continue; }
1246
        -re ".* 417      1234DA20" { set x [expr $x+1]; exp_continue; }
1247
        -re ".* 417      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1248
        -re ".* 418 0cfc 01546F3C" { set x [expr $x+1]; exp_continue; }
1249
        -re ".* 418      1234EA20" { set x [expr $x+1]; exp_continue; }
1250
        -re ".* 418      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1251
        -re ".* 419 0d08 01546F3C" { set x [expr $x+1]; exp_continue; }
1252
        -re ".* 419      1234FA20" { set x [expr $x+1]; exp_continue; }
1253
        -re ".* 419      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1254
        -re ".* 420 0d14 01546F3C" { set x [expr $x+1]; exp_continue; }
1255
        -re ".* 420      12344020" { set x [expr $x+1]; exp_continue; }
1256
        -re ".* 420      9ABC" { set x [expr $x+1]; exp_continue; }
1257
        -re ".* 421 0d1e 01546F3C" { set x [expr $x+1]; exp_continue; }
1258
        -re ".* 421      12344820" { set x [expr $x+1]; exp_continue; }
1259
        -re ".* 421      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1260
        -re ".* 422              " {
1261
            if [expr $x == 42] then {
1262
                pass "$testname: cmp.w @(0x1234:16,er3), ..."
1263
            } else {
1264
                fail "$testname: cmp.w @(0x1234:16,er3), ... ($x)"
1265
            }
1266
        }
1267
        default { fail "$testname: cmp.w @(0x1234:16,er3), ... ($x)" }
1268
    }
1269
 
1270
    set x 0
1271
    expect {
1272
        -re ".* 423 0d2a 78346B2C" { set x [expr $x+1]; exp_continue; }
1273
        -re ".* 423      12345678" { set x [expr $x+1]; exp_continue; }
1274
        -re ".* 423      0120" { set x [expr $x+1]; exp_continue; }
1275
        -re ".* 424 0d34 78346B2C" { set x [expr $x+1]; exp_continue; }
1276
        -re ".* 424      12345678" { set x [expr $x+1]; exp_continue; }
1277
        -re ".* 424      3120" { set x [expr $x+1]; exp_continue; }
1278
        -re ".* 425 0d3e 78346B2C" { set x [expr $x+1]; exp_continue; }
1279
        -re ".* 425      12345678" { set x [expr $x+1]; exp_continue; }
1280
        -re ".* 425      B120" { set x [expr $x+1]; exp_continue; }
1281
        -re ".* 426 0d48 78346B2C" { set x [expr $x+1]; exp_continue; }
1282
        -re ".* 426      12345678" { set x [expr $x+1]; exp_continue; }
1283
        -re ".* 426      8120" { set x [expr $x+1]; exp_continue; }
1284
        -re ".* 427 0d52 78346B2C" { set x [expr $x+1]; exp_continue; }
1285
        -re ".* 427      12345678" { set x [expr $x+1]; exp_continue; }
1286
        -re ".* 427      A120" { set x [expr $x+1]; exp_continue; }
1287
        -re ".* 428 0d5c 78346B2C" { set x [expr $x+1]; exp_continue; }
1288
        -re ".* 428      12345678" { set x [expr $x+1]; exp_continue; }
1289
        -re ".* 428      9120" { set x [expr $x+1]; exp_continue; }
1290
        -re ".* 429 0d66 78346B2C" { set x [expr $x+1]; exp_continue; }
1291
        -re ".* 429      12345678" { set x [expr $x+1]; exp_continue; }
1292
        -re ".* 429      C1209ABC" { set x [expr $x+1]; exp_continue; }
1293
        -re ".* 430 0d72 78346B2C" { set x [expr $x+1]; exp_continue; }
1294
        -re ".* 430      12345678" { set x [expr $x+1]; exp_continue; }
1295
        -re ".* 430      C9209ABC" { set x [expr $x+1]; exp_continue; }
1296
        -re ".* 430      DEF0" { set x [expr $x+1]; exp_continue; }
1297
        -re ".* 431 0d80 78346B2C" { set x [expr $x+1]; exp_continue; }
1298
        -re ".* 431      12345678" { set x [expr $x+1]; exp_continue; }
1299
        -re ".* 431      D2209ABC" { set x [expr $x+1]; exp_continue; }
1300
        -re ".* 432 0d8c 78346B2C" { set x [expr $x+1]; exp_continue; }
1301
        -re ".* 432      12345678" { set x [expr $x+1]; exp_continue; }
1302
        -re ".* 432      E2209ABC" { set x [expr $x+1]; exp_continue; }
1303
        -re ".* 433 0d98 78346B2C" { set x [expr $x+1]; exp_continue; }
1304
        -re ".* 433      12345678" { set x [expr $x+1]; exp_continue; }
1305
        -re ".* 433      F2209ABC" { set x [expr $x+1]; exp_continue; }
1306
        -re ".* 434 0da4 78346B2C" { set x [expr $x+1]; exp_continue; }
1307
        -re ".* 434      12345678" { set x [expr $x+1]; exp_continue; }
1308
        -re ".* 434      DA209ABC" { set x [expr $x+1]; exp_continue; }
1309
        -re ".* 434      DEF0" { set x [expr $x+1]; exp_continue; }
1310
        -re ".* 435 0db2 78346B2C" { set x [expr $x+1]; exp_continue; }
1311
        -re ".* 435      12345678" { set x [expr $x+1]; exp_continue; }
1312
        -re ".* 435      EA209ABC" { set x [expr $x+1]; exp_continue; }
1313
        -re ".* 435      DEF0" { set x [expr $x+1]; exp_continue; }
1314
        -re ".* 436 0dc0 78346B2C" { set x [expr $x+1]; exp_continue; }
1315
        -re ".* 436      12345678" { set x [expr $x+1]; exp_continue; }
1316
        -re ".* 436      FA209ABC" { set x [expr $x+1]; exp_continue; }
1317
        -re ".* 436      DEF0" { set x [expr $x+1]; exp_continue; }
1318
        -re ".* 437 0dce 78346B2C" { set x [expr $x+1]; exp_continue; }
1319
        -re ".* 437      12345678" { set x [expr $x+1]; exp_continue; }
1320
        -re ".* 437      40209ABC" { set x [expr $x+1]; exp_continue; }
1321
        -re ".* 438 0dda 78346B2C" { set x [expr $x+1]; exp_continue; }
1322
        -re ".* 438      12345678" { set x [expr $x+1]; exp_continue; }
1323
        -re ".* 438      48209ABC" { set x [expr $x+1]; exp_continue; }
1324
        -re ".* 438      DEF0" { set x [expr $x+1]; exp_continue; }
1325
        -re ".* 439              " {
1326
            if [expr $x == 53] then {
1327
                pass "$testname: cmp.w @(0x12345678:32,er3), ..."
1328
            } else {
1329
                fail "$testname: cmp.w @(0x12345678:32,er3), ... ($x)"
1330
            }
1331
        }
1332
        default { fail "$testname: cmp.w @(0x12345678:32,er3), ... ($x)" }
1333
    }
1334
 
1335
    set x 0
1336
    expect {
1337
        -re ".* 440 0de8 01556F3C" { set x [expr $x+1]; exp_continue; }
1338
        -re ".* 440      12340120" { set x [expr $x+1]; exp_continue; }
1339
        -re ".* 441 0df0 01556F3C" { set x [expr $x+1]; exp_continue; }
1340
        -re ".* 441      12343120" { set x [expr $x+1]; exp_continue; }
1341
        -re ".* 442 0df8 01556F3C" { set x [expr $x+1]; exp_continue; }
1342
        -re ".* 442      1234B120" { set x [expr $x+1]; exp_continue; }
1343
        -re ".* 443 0e00 01556F3C" { set x [expr $x+1]; exp_continue; }
1344
        -re ".* 443      12348120" { set x [expr $x+1]; exp_continue; }
1345
        -re ".* 444 0e08 01556F3C" { set x [expr $x+1]; exp_continue; }
1346
        -re ".* 444      1234A120" { set x [expr $x+1]; exp_continue; }
1347
        -re ".* 445 0e10 01556F3C" { set x [expr $x+1]; exp_continue; }
1348
        -re ".* 445      12349120" { set x [expr $x+1]; exp_continue; }
1349
        -re ".* 446 0e18 01556F3C" { set x [expr $x+1]; exp_continue; }
1350
        -re ".* 446      1234C120" { set x [expr $x+1]; exp_continue; }
1351
        -re ".* 446      9ABC" { set x [expr $x+1]; exp_continue; }
1352
        -re ".* 447 0e22 01556F3C" { set x [expr $x+1]; exp_continue; }
1353
        -re ".* 447      1234C920" { set x [expr $x+1]; exp_continue; }
1354
        -re ".* 447      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1355
        -re ".* 448 0e2e 01556F3C" { set x [expr $x+1]; exp_continue; }
1356
        -re ".* 448      1234D220" { set x [expr $x+1]; exp_continue; }
1357
        -re ".* 448      9ABC" { set x [expr $x+1]; exp_continue; }
1358
        -re ".* 449 0e38 01556F3C" { set x [expr $x+1]; exp_continue; }
1359
        -re ".* 449      1234E220" { set x [expr $x+1]; exp_continue; }
1360
        -re ".* 449      9ABC" { set x [expr $x+1]; exp_continue; }
1361
        -re ".* 450 0e42 01556F3C" { set x [expr $x+1]; exp_continue; }
1362
        -re ".* 450      1234F220" { set x [expr $x+1]; exp_continue; }
1363
        -re ".* 450      9ABC" { set x [expr $x+1]; exp_continue; }
1364
        -re ".* 451 0e4c 01556F3C" { set x [expr $x+1]; exp_continue; }
1365
        -re ".* 451      1234DA20" { set x [expr $x+1]; exp_continue; }
1366
        -re ".* 451      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1367
        -re ".* 452 0e58 01556F3C" { set x [expr $x+1]; exp_continue; }
1368
        -re ".* 452      1234EA20" { set x [expr $x+1]; exp_continue; }
1369
        -re ".* 452      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1370
        -re ".* 453 0e64 01556F3C" { set x [expr $x+1]; exp_continue; }
1371
        -re ".* 453      1234FA20" { set x [expr $x+1]; exp_continue; }
1372
        -re ".* 453      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1373
        -re ".* 454 0e70 01556F3C" { set x [expr $x+1]; exp_continue; }
1374
        -re ".* 454      12344020" { set x [expr $x+1]; exp_continue; }
1375
        -re ".* 454      9ABC" { set x [expr $x+1]; exp_continue; }
1376
        -re ".* 455 0e7a 01556F3C" { set x [expr $x+1]; exp_continue; }
1377
        -re ".* 455      12344820" { set x [expr $x+1]; exp_continue; }
1378
        -re ".* 455      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1379
        -re ".* 456              " {
1380
            if [expr $x == 42] then {
1381
                pass "$testname: cmp.w @(0x1234:16,r3l.b), ..."
1382
            } else {
1383
                fail "$testname: cmp.w @(0x1234:16,r3l.b), ... ($x)"
1384
            }
1385
        }
1386
        default { fail "$testname: cmp.w @(0x1234:16,r3l.b), ... ($x)" }
1387
    }
1388
 
1389
    set x 0
1390
    expect {
1391
        -re ".* 457 0e86 01566F3C" { set x [expr $x+1]; exp_continue; }
1392
        -re ".* 457      12340120" { set x [expr $x+1]; exp_continue; }
1393
        -re ".* 458 0e8e 01566F3C" { set x [expr $x+1]; exp_continue; }
1394
        -re ".* 458      12343120" { set x [expr $x+1]; exp_continue; }
1395
        -re ".* 459 0e96 01566F3C" { set x [expr $x+1]; exp_continue; }
1396
        -re ".* 459      1234B120" { set x [expr $x+1]; exp_continue; }
1397
        -re ".* 460 0e9e 01566F3C" { set x [expr $x+1]; exp_continue; }
1398
        -re ".* 460      12348120" { set x [expr $x+1]; exp_continue; }
1399
        -re ".* 461 0ea6 01566F3C" { set x [expr $x+1]; exp_continue; }
1400
        -re ".* 461      1234A120" { set x [expr $x+1]; exp_continue; }
1401
        -re ".* 462 0eae 01566F3C" { set x [expr $x+1]; exp_continue; }
1402
        -re ".* 462      12349120" { set x [expr $x+1]; exp_continue; }
1403
        -re ".* 463 0eb6 01566F3C" { set x [expr $x+1]; exp_continue; }
1404
        -re ".* 463      1234C120" { set x [expr $x+1]; exp_continue; }
1405
        -re ".* 463      9ABC" { set x [expr $x+1]; exp_continue; }
1406
        -re ".* 464 0ec0 01566F3C" { set x [expr $x+1]; exp_continue; }
1407
        -re ".* 464      1234C920" { set x [expr $x+1]; exp_continue; }
1408
        -re ".* 464      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1409
        -re ".* 465 0ecc 01566F3C" { set x [expr $x+1]; exp_continue; }
1410
        -re ".* 465      1234D220" { set x [expr $x+1]; exp_continue; }
1411
        -re ".* 465      9ABC" { set x [expr $x+1]; exp_continue; }
1412
        -re ".* 466 0ed6 01566F3C" { set x [expr $x+1]; exp_continue; }
1413
        -re ".* 466      1234E220" { set x [expr $x+1]; exp_continue; }
1414
        -re ".* 466      9ABC" { set x [expr $x+1]; exp_continue; }
1415
        -re ".* 467 0ee0 01566F3C" { set x [expr $x+1]; exp_continue; }
1416
        -re ".* 467      1234F220" { set x [expr $x+1]; exp_continue; }
1417
        -re ".* 467      9ABC" { set x [expr $x+1]; exp_continue; }
1418
        -re ".* 468 0eea 01566F3C" { set x [expr $x+1]; exp_continue; }
1419
        -re ".* 468      1234DA20" { set x [expr $x+1]; exp_continue; }
1420
        -re ".* 468      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1421
        -re ".* 469 0ef6 01566F3C" { set x [expr $x+1]; exp_continue; }
1422
        -re ".* 469      1234EA20" { set x [expr $x+1]; exp_continue; }
1423
        -re ".* 469      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1424
        -re ".* 470 0f02 01566F3C" { set x [expr $x+1]; exp_continue; }
1425
        -re ".* 470      1234FA20" { set x [expr $x+1]; exp_continue; }
1426
        -re ".* 470      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1427
        -re ".* 471 0f0e 01566F3C" { set x [expr $x+1]; exp_continue; }
1428
        -re ".* 471      12344020" { set x [expr $x+1]; exp_continue; }
1429
        -re ".* 471      9ABC" { set x [expr $x+1]; exp_continue; }
1430
        -re ".* 472 0f18 01566F3C" { set x [expr $x+1]; exp_continue; }
1431
        -re ".* 472      12344820" { set x [expr $x+1]; exp_continue; }
1432
        -re ".* 472      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1433
        -re ".* 473              " {
1434
            if [expr $x == 42] then {
1435
                pass "$testname: cmp.w @(0x1234:16,r3.w), ..."
1436
            } else {
1437
                fail "$testname: cmp.w @(0x1234:16,r3.w), ... ($x)"
1438
            }
1439
        }
1440
        default { fail "$testname: cmp.w @(0x1234:16,r3.w), ... ($x)" }
1441
    }
1442
 
1443
    set x 0
1444
    expect {
1445
        -re ".* 474 0f24 01576F3C" { set x [expr $x+1]; exp_continue; }
1446
        -re ".* 474      12340120" { set x [expr $x+1]; exp_continue; }
1447
        -re ".* 475 0f2c 01576F3C" { set x [expr $x+1]; exp_continue; }
1448
        -re ".* 475      12343120" { set x [expr $x+1]; exp_continue; }
1449
        -re ".* 476 0f34 01576F3C" { set x [expr $x+1]; exp_continue; }
1450
        -re ".* 476      1234B120" { set x [expr $x+1]; exp_continue; }
1451
        -re ".* 477 0f3c 01576F3C" { set x [expr $x+1]; exp_continue; }
1452
        -re ".* 477      12348120" { set x [expr $x+1]; exp_continue; }
1453
        -re ".* 478 0f44 01576F3C" { set x [expr $x+1]; exp_continue; }
1454
        -re ".* 478      1234A120" { set x [expr $x+1]; exp_continue; }
1455
        -re ".* 479 0f4c 01576F3C" { set x [expr $x+1]; exp_continue; }
1456
        -re ".* 479      12349120" { set x [expr $x+1]; exp_continue; }
1457
        -re ".* 480 0f54 01576F3C" { set x [expr $x+1]; exp_continue; }
1458
        -re ".* 480      1234C120" { set x [expr $x+1]; exp_continue; }
1459
        -re ".* 480      9ABC" { set x [expr $x+1]; exp_continue; }
1460
        -re ".* 481 0f5e 01576F3C" { set x [expr $x+1]; exp_continue; }
1461
        -re ".* 481      1234C920" { set x [expr $x+1]; exp_continue; }
1462
        -re ".* 481      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1463
        -re ".* 482 0f6a 01576F3C" { set x [expr $x+1]; exp_continue; }
1464
        -re ".* 482      1234D220" { set x [expr $x+1]; exp_continue; }
1465
        -re ".* 482      9ABC" { set x [expr $x+1]; exp_continue; }
1466
        -re ".* 483 0f74 01576F3C" { set x [expr $x+1]; exp_continue; }
1467
        -re ".* 483      1234E220" { set x [expr $x+1]; exp_continue; }
1468
        -re ".* 483      9ABC" { set x [expr $x+1]; exp_continue; }
1469
        -re ".* 484 0f7e 01576F3C" { set x [expr $x+1]; exp_continue; }
1470
        -re ".* 484      1234F220" { set x [expr $x+1]; exp_continue; }
1471
        -re ".* 484      9ABC" { set x [expr $x+1]; exp_continue; }
1472
        -re ".* 485 0f88 01576F3C" { set x [expr $x+1]; exp_continue; }
1473
        -re ".* 485      1234DA20" { set x [expr $x+1]; exp_continue; }
1474
        -re ".* 485      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1475
        -re ".* 486 0f94 01576F3C" { set x [expr $x+1]; exp_continue; }
1476
        -re ".* 486      1234EA20" { set x [expr $x+1]; exp_continue; }
1477
        -re ".* 486      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1478
        -re ".* 487 0fa0 01576F3C" { set x [expr $x+1]; exp_continue; }
1479
        -re ".* 487      1234FA20" { set x [expr $x+1]; exp_continue; }
1480
        -re ".* 487      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1481
        -re ".* 488 0fac 01576F3C" { set x [expr $x+1]; exp_continue; }
1482
        -re ".* 488      12344020" { set x [expr $x+1]; exp_continue; }
1483
        -re ".* 488      9ABC" { set x [expr $x+1]; exp_continue; }
1484
        -re ".* 489 0fb6 01576F3C" { set x [expr $x+1]; exp_continue; }
1485
        -re ".* 489      12344820" { set x [expr $x+1]; exp_continue; }
1486
        -re ".* 489      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1487
        -re ".* 490              " {
1488
            if [expr $x == 42] then {
1489
                pass "$testname: cmp.w @(0x1234:16,er3.l), ..."
1490
            } else {
1491
                fail "$testname: cmp.w @(0x1234:16,er3.l), ... ($x)"
1492
            }
1493
        }
1494
        default { fail "$testname: cmp.w @(0x1234:16,er3.l), ... ($x)" }
1495
    }
1496
 
1497
    set x 0
1498
    expect {
1499
        -re ".* 491 0fc2 78356B2C" { set x [expr $x+1]; exp_continue; }
1500
        -re ".* 491      12345678" { set x [expr $x+1]; exp_continue; }
1501
        -re ".* 491      0120" { set x [expr $x+1]; exp_continue; }
1502
        -re ".* 492 0fcc 78356B2C" { set x [expr $x+1]; exp_continue; }
1503
        -re ".* 492      12345678" { set x [expr $x+1]; exp_continue; }
1504
        -re ".* 492      3120" { set x [expr $x+1]; exp_continue; }
1505
        -re ".* 493 0fd6 78356B2C" { set x [expr $x+1]; exp_continue; }
1506
        -re ".* 493      12345678" { set x [expr $x+1]; exp_continue; }
1507
        -re ".* 493      B120" { set x [expr $x+1]; exp_continue; }
1508
        -re ".* 494 0fe0 78356B2C" { set x [expr $x+1]; exp_continue; }
1509
        -re ".* 494      12345678" { set x [expr $x+1]; exp_continue; }
1510
        -re ".* 494      8120" { set x [expr $x+1]; exp_continue; }
1511
        -re ".* 495 0fea 78356B2C" { set x [expr $x+1]; exp_continue; }
1512
        -re ".* 495      12345678" { set x [expr $x+1]; exp_continue; }
1513
        -re ".* 495      A120" { set x [expr $x+1]; exp_continue; }
1514
        -re ".* 496 0ff4 78356B2C" { set x [expr $x+1]; exp_continue; }
1515
        -re ".* 496      12345678" { set x [expr $x+1]; exp_continue; }
1516
        -re ".* 496      9120" { set x [expr $x+1]; exp_continue; }
1517
        -re ".* 497 0ffe 78356B2C" { set x [expr $x+1]; exp_continue; }
1518
        -re ".* 497      12345678" { set x [expr $x+1]; exp_continue; }
1519
        -re ".* 497      C1209ABC" { set x [expr $x+1]; exp_continue; }
1520
        -re ".* 498 100a 78356B2C" { set x [expr $x+1]; exp_continue; }
1521
        -re ".* 498      12345678" { set x [expr $x+1]; exp_continue; }
1522
        -re ".* 498      C9209ABC" { set x [expr $x+1]; exp_continue; }
1523
        -re ".* 498      DEF0" { set x [expr $x+1]; exp_continue; }
1524
        -re ".* 499 1018 78356B2C" { set x [expr $x+1]; exp_continue; }
1525
        -re ".* 499      12345678" { set x [expr $x+1]; exp_continue; }
1526
        -re ".* 499      D2209ABC" { set x [expr $x+1]; exp_continue; }
1527
        -re ".* 500 1024 78356B2C" { set x [expr $x+1]; exp_continue; }
1528
        -re ".* 500      12345678" { set x [expr $x+1]; exp_continue; }
1529
        -re ".* 500      E2209ABC" { set x [expr $x+1]; exp_continue; }
1530
        -re ".* 501 1030 78356B2C" { set x [expr $x+1]; exp_continue; }
1531
        -re ".* 501      12345678" { set x [expr $x+1]; exp_continue; }
1532
        -re ".* 501      F2209ABC" { set x [expr $x+1]; exp_continue; }
1533
        -re ".* 502 103c 78356B2C" { set x [expr $x+1]; exp_continue; }
1534
        -re ".* 502      12345678" { set x [expr $x+1]; exp_continue; }
1535
        -re ".* 502      DA209ABC" { set x [expr $x+1]; exp_continue; }
1536
        -re ".* 502      DEF0" { set x [expr $x+1]; exp_continue; }
1537
        -re ".* 503 104a 78356B2C" { set x [expr $x+1]; exp_continue; }
1538
        -re ".* 503      12345678" { set x [expr $x+1]; exp_continue; }
1539
        -re ".* 503      EA209ABC" { set x [expr $x+1]; exp_continue; }
1540
        -re ".* 503      DEF0" { set x [expr $x+1]; exp_continue; }
1541
        -re ".* 504 1058 78356B2C" { set x [expr $x+1]; exp_continue; }
1542
        -re ".* 504      12345678" { set x [expr $x+1]; exp_continue; }
1543
        -re ".* 504      FA209ABC" { set x [expr $x+1]; exp_continue; }
1544
        -re ".* 504      DEF0" { set x [expr $x+1]; exp_continue; }
1545
        -re ".* 505 1066 78356B2C" { set x [expr $x+1]; exp_continue; }
1546
        -re ".* 505      12345678" { set x [expr $x+1]; exp_continue; }
1547
        -re ".* 505      40209ABC" { set x [expr $x+1]; exp_continue; }
1548
        -re ".* 506 1072 78356B2C" { set x [expr $x+1]; exp_continue; }
1549
        -re ".* 506      12345678" { set x [expr $x+1]; exp_continue; }
1550
        -re ".* 506      48209ABC" { set x [expr $x+1]; exp_continue; }
1551
        -re ".* 506      DEF0" { set x [expr $x+1]; exp_continue; }
1552
        -re ".* 507              " {
1553
            if [expr $x == 53] then {
1554
                pass "$testname: cmp.w @(0x12345678:32,r3l.b), ..."
1555
            } else {
1556
                fail "$testname: cmp.w @(0x12345678:32,r3l.b), ... ($x)"
1557
            }
1558
        }
1559
        default { fail "$testname: cmp.w @(0x12345678:32,r3l.b), ... ($x)" }
1560
    }
1561
 
1562
    set x 0
1563
    expect {
1564
        -re ".* 508 1080 78366B2C" { set x [expr $x+1]; exp_continue; }
1565
        -re ".* 508      12345678" { set x [expr $x+1]; exp_continue; }
1566
        -re ".* 508      0120" { set x [expr $x+1]; exp_continue; }
1567
        -re ".* 509 108a 78366B2C" { set x [expr $x+1]; exp_continue; }
1568
        -re ".* 509      12345678" { set x [expr $x+1]; exp_continue; }
1569
        -re ".* 509      3120" { set x [expr $x+1]; exp_continue; }
1570
        -re ".* 510 1094 78366B2C" { set x [expr $x+1]; exp_continue; }
1571
        -re ".* 510      12345678" { set x [expr $x+1]; exp_continue; }
1572
        -re ".* 510      B120" { set x [expr $x+1]; exp_continue; }
1573
        -re ".* 511 109e 78366B2C" { set x [expr $x+1]; exp_continue; }
1574
        -re ".* 511      12345678" { set x [expr $x+1]; exp_continue; }
1575
        -re ".* 511      8120" { set x [expr $x+1]; exp_continue; }
1576
        -re ".* 512 10a8 78366B2C" { set x [expr $x+1]; exp_continue; }
1577
        -re ".* 512      12345678" { set x [expr $x+1]; exp_continue; }
1578
        -re ".* 512      A120" { set x [expr $x+1]; exp_continue; }
1579
        -re ".* 513 10b2 78366B2C" { set x [expr $x+1]; exp_continue; }
1580
        -re ".* 513      12345678" { set x [expr $x+1]; exp_continue; }
1581
        -re ".* 513      9120" { set x [expr $x+1]; exp_continue; }
1582
        -re ".* 514 10bc 78366B2C" { set x [expr $x+1]; exp_continue; }
1583
        -re ".* 514      12345678" { set x [expr $x+1]; exp_continue; }
1584
        -re ".* 514      C1209ABC" { set x [expr $x+1]; exp_continue; }
1585
        -re ".* 515 10c8 78366B2C" { set x [expr $x+1]; exp_continue; }
1586
        -re ".* 515      12345678" { set x [expr $x+1]; exp_continue; }
1587
        -re ".* 515      C9209ABC" { set x [expr $x+1]; exp_continue; }
1588
        -re ".* 515      DEF0" { set x [expr $x+1]; exp_continue; }
1589
        -re ".* 516 10d6 78366B2C" { set x [expr $x+1]; exp_continue; }
1590
        -re ".* 516      12345678" { set x [expr $x+1]; exp_continue; }
1591
        -re ".* 516      D2209ABC" { set x [expr $x+1]; exp_continue; }
1592
        -re ".* 517 10e2 78366B2C" { set x [expr $x+1]; exp_continue; }
1593
        -re ".* 517      12345678" { set x [expr $x+1]; exp_continue; }
1594
        -re ".* 517      E2209ABC" { set x [expr $x+1]; exp_continue; }
1595
        -re ".* 518 10ee 78366B2C" { set x [expr $x+1]; exp_continue; }
1596
        -re ".* 518      12345678" { set x [expr $x+1]; exp_continue; }
1597
        -re ".* 518      F2209ABC" { set x [expr $x+1]; exp_continue; }
1598
        -re ".* 519 10fa 78366B2C" { set x [expr $x+1]; exp_continue; }
1599
        -re ".* 519      12345678" { set x [expr $x+1]; exp_continue; }
1600
        -re ".* 519      DA209ABC" { set x [expr $x+1]; exp_continue; }
1601
        -re ".* 519      DEF0" { set x [expr $x+1]; exp_continue; }
1602
        -re ".* 520 1108 78366B2C" { set x [expr $x+1]; exp_continue; }
1603
        -re ".* 520      12345678" { set x [expr $x+1]; exp_continue; }
1604
        -re ".* 520      EA209ABC" { set x [expr $x+1]; exp_continue; }
1605
        -re ".* 520      DEF0" { set x [expr $x+1]; exp_continue; }
1606
        -re ".* 521 1116 78366B2C" { set x [expr $x+1]; exp_continue; }
1607
        -re ".* 521      12345678" { set x [expr $x+1]; exp_continue; }
1608
        -re ".* 521      FA209ABC" { set x [expr $x+1]; exp_continue; }
1609
        -re ".* 521      DEF0" { set x [expr $x+1]; exp_continue; }
1610
        -re ".* 522 1124 78366B2C" { set x [expr $x+1]; exp_continue; }
1611
        -re ".* 522      12345678" { set x [expr $x+1]; exp_continue; }
1612
        -re ".* 522      40209ABC" { set x [expr $x+1]; exp_continue; }
1613
        -re ".* 523 1130 78366B2C" { set x [expr $x+1]; exp_continue; }
1614
        -re ".* 523      12345678" { set x [expr $x+1]; exp_continue; }
1615
        -re ".* 523      48209ABC" { set x [expr $x+1]; exp_continue; }
1616
        -re ".* 523      DEF0" { set x [expr $x+1]; exp_continue; }
1617
        -re ".* 524              " {
1618
            if [expr $x == 53] then {
1619
                pass "$testname: cmp.w @(0x12345678:32,r3.w), ..."
1620
            } else {
1621
                fail "$testname: cmp.w @(0x12345678:32,r3.w), ... ($x)"
1622
            }
1623
        }
1624
        default { fail "$testname: cmp.w @(0x12345678:32,r3.w), ... ($x)" }
1625
    }
1626
 
1627
    set x 0
1628
    expect {
1629
        -re ".* 525 113e 78376B2C" { set x [expr $x+1]; exp_continue; }
1630
        -re ".* 525      12345678" { set x [expr $x+1]; exp_continue; }
1631
        -re ".* 525      0120" { set x [expr $x+1]; exp_continue; }
1632
        -re ".* 526 1148 78376B2C" { set x [expr $x+1]; exp_continue; }
1633
        -re ".* 526      12345678" { set x [expr $x+1]; exp_continue; }
1634
        -re ".* 526      3120" { set x [expr $x+1]; exp_continue; }
1635
        -re ".* 527 1152 78376B2C" { set x [expr $x+1]; exp_continue; }
1636
        -re ".* 527      12345678" { set x [expr $x+1]; exp_continue; }
1637
        -re ".* 527      B120" { set x [expr $x+1]; exp_continue; }
1638
        -re ".* 528 115c 78376B2C" { set x [expr $x+1]; exp_continue; }
1639
        -re ".* 528      12345678" { set x [expr $x+1]; exp_continue; }
1640
        -re ".* 528      8120" { set x [expr $x+1]; exp_continue; }
1641
        -re ".* 529 1166 78376B2C" { set x [expr $x+1]; exp_continue; }
1642
        -re ".* 529      12345678" { set x [expr $x+1]; exp_continue; }
1643
        -re ".* 529      A120" { set x [expr $x+1]; exp_continue; }
1644
        -re ".* 530 1170 78376B2C" { set x [expr $x+1]; exp_continue; }
1645
        -re ".* 530      12345678" { set x [expr $x+1]; exp_continue; }
1646
        -re ".* 530      9120" { set x [expr $x+1]; exp_continue; }
1647
        -re ".* 531 117a 78376B2C" { set x [expr $x+1]; exp_continue; }
1648
        -re ".* 531      12345678" { set x [expr $x+1]; exp_continue; }
1649
        -re ".* 531      C1209ABC" { set x [expr $x+1]; exp_continue; }
1650
        -re ".* 532 1186 78376B2C" { set x [expr $x+1]; exp_continue; }
1651
        -re ".* 532      12345678" { set x [expr $x+1]; exp_continue; }
1652
        -re ".* 532      C9209ABC" { set x [expr $x+1]; exp_continue; }
1653
        -re ".* 532      DEF0" { set x [expr $x+1]; exp_continue; }
1654
        -re ".* 533 1194 78376B2C" { set x [expr $x+1]; exp_continue; }
1655
        -re ".* 533      12345678" { set x [expr $x+1]; exp_continue; }
1656
        -re ".* 533      D2209ABC" { set x [expr $x+1]; exp_continue; }
1657
        -re ".* 534 11a0 78376B2C" { set x [expr $x+1]; exp_continue; }
1658
        -re ".* 534      12345678" { set x [expr $x+1]; exp_continue; }
1659
        -re ".* 534      E2209ABC" { set x [expr $x+1]; exp_continue; }
1660
        -re ".* 535 11ac 78376B2C" { set x [expr $x+1]; exp_continue; }
1661
        -re ".* 535      12345678" { set x [expr $x+1]; exp_continue; }
1662
        -re ".* 535      F2209ABC" { set x [expr $x+1]; exp_continue; }
1663
        -re ".* 536 11b8 78376B2C" { set x [expr $x+1]; exp_continue; }
1664
        -re ".* 536      12345678" { set x [expr $x+1]; exp_continue; }
1665
        -re ".* 536      DA209ABC" { set x [expr $x+1]; exp_continue; }
1666
        -re ".* 536      DEF0" { set x [expr $x+1]; exp_continue; }
1667
        -re ".* 537 11c6 78376B2C" { set x [expr $x+1]; exp_continue; }
1668
        -re ".* 537      12345678" { set x [expr $x+1]; exp_continue; }
1669
        -re ".* 537      EA209ABC" { set x [expr $x+1]; exp_continue; }
1670
        -re ".* 537      DEF0" { set x [expr $x+1]; exp_continue; }
1671
        -re ".* 538 11d4 78376B2C" { set x [expr $x+1]; exp_continue; }
1672
        -re ".* 538      12345678" { set x [expr $x+1]; exp_continue; }
1673
        -re ".* 538      FA209ABC" { set x [expr $x+1]; exp_continue; }
1674
        -re ".* 538      DEF0" { set x [expr $x+1]; exp_continue; }
1675
        -re ".* 539 11e2 78376B2C" { set x [expr $x+1]; exp_continue; }
1676
        -re ".* 539      12345678" { set x [expr $x+1]; exp_continue; }
1677
        -re ".* 539      40209ABC" { set x [expr $x+1]; exp_continue; }
1678
        -re ".* 540 11ee 78376B2C" { set x [expr $x+1]; exp_continue; }
1679
        -re ".* 540      12345678" { set x [expr $x+1]; exp_continue; }
1680
        -re ".* 540      48209ABC" { set x [expr $x+1]; exp_continue; }
1681
        -re ".* 540      DEF0" { set x [expr $x+1]; exp_continue; }
1682
        -re ".* 541              " {
1683
            if [expr $x == 53] then {
1684
                pass "$testname: cmp.w @(0x12345678:32,er3.l), ..."
1685
            } else {
1686
                fail "$testname: cmp.w @(0x12345678:32,er3.l), ... ($x)"
1687
            }
1688
        }
1689
        default { fail "$testname: cmp.w @(0x12345678:32,er3.l), ... ($x)" }
1690
    }
1691
 
1692
    set x 0
1693
    expect {
1694
        -re ".* 542 11fc 6B151234" { set x [expr $x+1]; exp_continue; }
1695
        -re ".* 542      0120" { set x [expr $x+1]; exp_continue; }
1696
        -re ".* 543 1202 6B151234" { set x [expr $x+1]; exp_continue; }
1697
        -re ".* 543      3120" { set x [expr $x+1]; exp_continue; }
1698
        -re ".* 544 1208 6B151234" { set x [expr $x+1]; exp_continue; }
1699
        -re ".* 544      B120" { set x [expr $x+1]; exp_continue; }
1700
        -re ".* 545 120e 6B151234" { set x [expr $x+1]; exp_continue; }
1701
        -re ".* 545      8120" { set x [expr $x+1]; exp_continue; }
1702
        -re ".* 546 1214 6B151234" { set x [expr $x+1]; exp_continue; }
1703
        -re ".* 546      A120" { set x [expr $x+1]; exp_continue; }
1704
        -re ".* 547 121a 6B151234" { set x [expr $x+1]; exp_continue; }
1705
        -re ".* 547      9120" { set x [expr $x+1]; exp_continue; }
1706
        -re ".* 548 1220 6B151234" { set x [expr $x+1]; exp_continue; }
1707
        -re ".* 548      C1209ABC" { set x [expr $x+1]; exp_continue; }
1708
        -re ".* 549 1228 6B151234" { set x [expr $x+1]; exp_continue; }
1709
        -re ".* 549      C9209ABC" { set x [expr $x+1]; exp_continue; }
1710
        -re ".* 549      DEF0" { set x [expr $x+1]; exp_continue; }
1711
        -re ".* 550 1232 6B151234" { set x [expr $x+1]; exp_continue; }
1712
        -re ".* 550      D2209ABC" { set x [expr $x+1]; exp_continue; }
1713
        -re ".* 551 123a 6B151234" { set x [expr $x+1]; exp_continue; }
1714
        -re ".* 551      E2209ABC" { set x [expr $x+1]; exp_continue; }
1715
        -re ".* 552 1242 6B151234" { set x [expr $x+1]; exp_continue; }
1716
        -re ".* 552      F2209ABC" { set x [expr $x+1]; exp_continue; }
1717
        -re ".* 553 124a 6B151234" { set x [expr $x+1]; exp_continue; }
1718
        -re ".* 553      DA209ABC" { set x [expr $x+1]; exp_continue; }
1719
        -re ".* 553      DEF0" { set x [expr $x+1]; exp_continue; }
1720
        -re ".* 554 1254 6B151234" { set x [expr $x+1]; exp_continue; }
1721
        -re ".* 554      EA209ABC" { set x [expr $x+1]; exp_continue; }
1722
        -re ".* 554      DEF0" { set x [expr $x+1]; exp_continue; }
1723
        -re ".* 555 125e 6B151234" { set x [expr $x+1]; exp_continue; }
1724
        -re ".* 555      FA209ABC" { set x [expr $x+1]; exp_continue; }
1725
        -re ".* 555      DEF0" { set x [expr $x+1]; exp_continue; }
1726
        -re ".* 556 1268 6B151234" { set x [expr $x+1]; exp_continue; }
1727
        -re ".* 556      40209ABC" { set x [expr $x+1]; exp_continue; }
1728
        -re ".* 557 1270 6B151234" { set x [expr $x+1]; exp_continue; }
1729
        -re ".* 557      48209ABC" { set x [expr $x+1]; exp_continue; }
1730
        -re ".* 557      DEF0" { set x [expr $x+1]; exp_continue; }
1731
        -re ".* 558              " {
1732
            if [expr $x == 37] then {
1733
                pass "$testname: cmp.w @0x1234:16, ..."
1734
            } else {
1735
                fail "$testname: cmp.w @0x1234:16, ... ($x)"
1736
            }
1737
        }
1738
        default { fail "$testname: cmp.w @0x1234:16, ... ($x)" }
1739
    }
1740
 
1741
    set x 0
1742
    expect {
1743
        -re ".* 559 127a 6B351234" { set x [expr $x+1]; exp_continue; }
1744
        -re ".* 559      56780120" { set x [expr $x+1]; exp_continue; }
1745
        -re ".* 560 1282 6B351234" { set x [expr $x+1]; exp_continue; }
1746
        -re ".* 560      56783120" { set x [expr $x+1]; exp_continue; }
1747
        -re ".* 561 128a 6B351234" { set x [expr $x+1]; exp_continue; }
1748
        -re ".* 561      5678B120" { set x [expr $x+1]; exp_continue; }
1749
        -re ".* 562 1292 6B351234" { set x [expr $x+1]; exp_continue; }
1750
        -re ".* 562      56788120" { set x [expr $x+1]; exp_continue; }
1751
        -re ".* 563 129a 6B351234" { set x [expr $x+1]; exp_continue; }
1752
        -re ".* 563      5678A120" { set x [expr $x+1]; exp_continue; }
1753
        -re ".* 564 12a2 6B351234" { set x [expr $x+1]; exp_continue; }
1754
        -re ".* 564      56789120" { set x [expr $x+1]; exp_continue; }
1755
        -re ".* 565 12aa 6B351234" { set x [expr $x+1]; exp_continue; }
1756
        -re ".* 565      5678C120" { set x [expr $x+1]; exp_continue; }
1757
        -re ".* 565      9ABC" { set x [expr $x+1]; exp_continue; }
1758
        -re ".* 566 12b4 6B351234" { set x [expr $x+1]; exp_continue; }
1759
        -re ".* 566      5678C920" { set x [expr $x+1]; exp_continue; }
1760
        -re ".* 566      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1761
        -re ".* 567 12c0 6B351234" { set x [expr $x+1]; exp_continue; }
1762
        -re ".* 567      5678D220" { set x [expr $x+1]; exp_continue; }
1763
        -re ".* 567      9ABC" { set x [expr $x+1]; exp_continue; }
1764
        -re ".* 568 12ca 6B351234" { set x [expr $x+1]; exp_continue; }
1765
        -re ".* 568      5678E220" { set x [expr $x+1]; exp_continue; }
1766
        -re ".* 568      9ABC" { set x [expr $x+1]; exp_continue; }
1767
        -re ".* 569 12d4 6B351234" { set x [expr $x+1]; exp_continue; }
1768
        -re ".* 569      5678F220" { set x [expr $x+1]; exp_continue; }
1769
        -re ".* 569      9ABC" { set x [expr $x+1]; exp_continue; }
1770
        -re ".* 570 12de 6B351234" { set x [expr $x+1]; exp_continue; }
1771
        -re ".* 570      5678DA20" { set x [expr $x+1]; exp_continue; }
1772
        -re ".* 570      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1773
        -re ".* 571 12ea 6B351234" { set x [expr $x+1]; exp_continue; }
1774
        -re ".* 571      5678EA20" { set x [expr $x+1]; exp_continue; }
1775
        -re ".* 571      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1776
        -re ".* 572 12f6 6B351234" { set x [expr $x+1]; exp_continue; }
1777
        -re ".* 572      5678FA20" { set x [expr $x+1]; exp_continue; }
1778
        -re ".* 572      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1779
        -re ".* 573 1302 6B351234" { set x [expr $x+1]; exp_continue; }
1780
        -re ".* 573      56784020" { set x [expr $x+1]; exp_continue; }
1781
        -re ".* 573      9ABC" { set x [expr $x+1]; exp_continue; }
1782
        -re ".* 574 130c 6B351234" { set x [expr $x+1]; exp_continue; }
1783
        -re ".* 574      56784820" { set x [expr $x+1]; exp_continue; }
1784
        -re ".* 574      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1785
        -re ".* 575              " {
1786
            if [expr $x == 42] then {
1787
                pass "$testname: cmp.w @0x12345678:32, ..."
1788
            } else {
1789
                fail "$testname: cmp.w @0x12345678:32, ... ($x)"
1790
            }
1791
        }
1792
        default { fail "$testname: cmp.w @0x12345678:32, ... ($x)" }
1793
    }
1794
 
1795
    set x 0
1796
    expect {
1797
        -re ".* 576 1318 7A211234" { set x [expr $x+1]; exp_continue; }
1798
        -re ".* 576      5678" { set x [expr $x+1]; exp_continue; }
1799
        -re ".* 577 131e 7A291234" { set x [expr $x+1]; exp_continue; }
1800
        -re ".* 578 1322 1FFA" { set x [expr $x+1]; exp_continue; }
1801
        -re ".* 579 1324 010E0128" { set x [expr $x+1]; exp_continue; }
1802
        -re ".* 579      12345678" { set x [expr $x+1]; exp_continue; }
1803
        -re ".* 580 132c 010E3128" { set x [expr $x+1]; exp_continue; }
1804
        -re ".* 580      12345678" { set x [expr $x+1]; exp_continue; }
1805
        -re ".* 581 1334 010E8128" { set x [expr $x+1]; exp_continue; }
1806
        -re ".* 581      12345678" { set x [expr $x+1]; exp_continue; }
1807
        -re ".* 582 133c 010EB128" { set x [expr $x+1]; exp_continue; }
1808
        -re ".* 582      12345678" { set x [expr $x+1]; exp_continue; }
1809
        -re ".* 583 1344 010E9128" { set x [expr $x+1]; exp_continue; }
1810
        -re ".* 583      12345678" { set x [expr $x+1]; exp_continue; }
1811
        -re ".* 584 134c 010EA128" { set x [expr $x+1]; exp_continue; }
1812
        -re ".* 584      12345678" { set x [expr $x+1]; exp_continue; }
1813
        -re ".* 585 1354 010EC128" { set x [expr $x+1]; exp_continue; }
1814
        -re ".* 585      9ABC1234" { set x [expr $x+1]; exp_continue; }
1815
        -re ".* 585      5678" { set x [expr $x+1]; exp_continue; }
1816
        -re ".* 586 135e 010EC928" { set x [expr $x+1]; exp_continue; }
1817
        -re ".* 586      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1818
        -re ".* 586      12345678" { set x [expr $x+1]; exp_continue; }
1819
        -re ".* 587 136a 010ED228" { set x [expr $x+1]; exp_continue; }
1820
        -re ".* 587      9ABC1234" { set x [expr $x+1]; exp_continue; }
1821
        -re ".* 587      5678" { set x [expr $x+1]; exp_continue; }
1822
        -re ".* 588 1374 010EE228" { set x [expr $x+1]; exp_continue; }
1823
        -re ".* 588      9ABC1234" { set x [expr $x+1]; exp_continue; }
1824
        -re ".* 588      5678" { set x [expr $x+1]; exp_continue; }
1825
        -re ".* 589 137e 010EF228" { set x [expr $x+1]; exp_continue; }
1826
        -re ".* 589      9ABC1234" { set x [expr $x+1]; exp_continue; }
1827
        -re ".* 589      5678" { set x [expr $x+1]; exp_continue; }
1828
        -re ".* 590 1388 010EDA28" { set x [expr $x+1]; exp_continue; }
1829
        -re ".* 590      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1830
        -re ".* 590      12345678" { set x [expr $x+1]; exp_continue; }
1831
        -re ".* 591 1394 010EEA28" { set x [expr $x+1]; exp_continue; }
1832
        -re ".* 591      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1833
        -re ".* 591      12345678" { set x [expr $x+1]; exp_continue; }
1834
        -re ".* 592 13a0 010EFA28" { set x [expr $x+1]; exp_continue; }
1835
        -re ".* 592      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1836
        -re ".* 592      12345678" { set x [expr $x+1]; exp_continue; }
1837
        -re ".* 593 13ac 010E4028" { set x [expr $x+1]; exp_continue; }
1838
        -re ".* 593      9ABC1234" { set x [expr $x+1]; exp_continue; }
1839
        -re ".* 593      5678" { set x [expr $x+1]; exp_continue; }
1840
        -re ".* 594 13b6 010E4828" { set x [expr $x+1]; exp_continue; }
1841
        -re ".* 594      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1842
        -re ".* 594      12345678" { set x [expr $x+1]; exp_continue; }
1843
        -re ".* 595 13c2 010E0120" { set x [expr $x+1]; exp_continue; }
1844
        -re ".* 595      1234" { set x [expr $x+1]; exp_continue; }
1845
        -re ".* 596 13c8 010E3120" { set x [expr $x+1]; exp_continue; }
1846
        -re ".* 596      1234" { set x [expr $x+1]; exp_continue; }
1847
        -re ".* 597 13ce 010E8120" { set x [expr $x+1]; exp_continue; }
1848
        -re ".* 597      1234" { set x [expr $x+1]; exp_continue; }
1849
        -re ".* 598 13d4 010EB120" { set x [expr $x+1]; exp_continue; }
1850
        -re ".* 598      1234" { set x [expr $x+1]; exp_continue; }
1851
        -re ".* 599 13da 010E9120" { set x [expr $x+1]; exp_continue; }
1852
        -re ".* 599      1234" { set x [expr $x+1]; exp_continue; }
1853
        -re ".* 600 13e0 010EA120" { set x [expr $x+1]; exp_continue; }
1854
        -re ".* 600      1234" { set x [expr $x+1]; exp_continue; }
1855
        -re ".* 601 13e6 010EC120" { set x [expr $x+1]; exp_continue; }
1856
        -re ".* 601      9ABC1234" { set x [expr $x+1]; exp_continue; }
1857
        -re ".* 602 13ee 010EC920" { set x [expr $x+1]; exp_continue; }
1858
        -re ".* 602      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1859
        -re ".* 602      1234" { set x [expr $x+1]; exp_continue; }
1860
        -re ".* 603 13f8 010ED220" { set x [expr $x+1]; exp_continue; }
1861
        -re ".* 603      9ABC1234" { set x [expr $x+1]; exp_continue; }
1862
        -re ".* 604 1400 010EE220" { set x [expr $x+1]; exp_continue; }
1863
        -re ".* 604      9ABC1234" { set x [expr $x+1]; exp_continue; }
1864
        -re ".* 605 1408 010EF220" { set x [expr $x+1]; exp_continue; }
1865
        -re ".* 605      9ABC1234" { set x [expr $x+1]; exp_continue; }
1866
        -re ".* 606 1410 010EDA20" { set x [expr $x+1]; exp_continue; }
1867
        -re ".* 606      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1868
        -re ".* 606      1234" { set x [expr $x+1]; exp_continue; }
1869
        -re ".* 607 141a 010EEA20" { set x [expr $x+1]; exp_continue; }
1870
        -re ".* 607      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1871
        -re ".* 607      1234" { set x [expr $x+1]; exp_continue; }
1872
        -re ".* 608 1424 010EFA20" { set x [expr $x+1]; exp_continue; }
1873
        -re ".* 608      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1874
        -re ".* 608      1234" { set x [expr $x+1]; exp_continue; }
1875
        -re ".* 609 142e 010E4020" { set x [expr $x+1]; exp_continue; }
1876
        -re ".* 609      9ABC1234" { set x [expr $x+1]; exp_continue; }
1877
        -re ".* 610 1436 010E4820" { set x [expr $x+1]; exp_continue; }
1878
        -re ".* 610      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
1879
        -re ".* 610      1234" { set x [expr $x+1]; exp_continue; }
1880
        -re ".* 611              " {
1881
            if [expr $x == 83] then {
1882
                pass "$testname: cmp.l #0x1234:16, ..."
1883
            } else {
1884
                fail "$testname: cmp.l #0x1234:16, ... ($x)"
1885
            }
1886
        }
1887
        default { fail "$testname: cmp.l #0x1234:16, ... ($x)" }
1888
    }
1889
 
1890
    set x 0
1891
    expect {
1892
        -re ".* 612 1440 1FB1" { set x [expr $x+1]; exp_continue; }
1893
        -re ".* 613              " {
1894
            if [expr $x == 1] then {
1895
                pass "$testname: cmp.l er3, er1"
1896
            } else {
1897
                fail "$testname: cmp.l er3, er1 ($x)"
1898
            }
1899
        }
1900
        default { fail "$testname: cmp.l er3, er1 ($x)" }
1901
    }
1902
 
1903
    set x 0
1904
    expect {
1905
        -re ".* 614 1442 01090123" { set x [expr $x+1]; exp_continue; }
1906
        -re ".* 615 1446 01093123" { set x [expr $x+1]; exp_continue; }
1907
        -re ".* 616 144a 01098123" { set x [expr $x+1]; exp_continue; }
1908
        -re ".* 617 144e 0109B123" { set x [expr $x+1]; exp_continue; }
1909
        -re ".* 618 1452 01099123" { set x [expr $x+1]; exp_continue; }
1910
        -re ".* 619 1456 0109A123" { set x [expr $x+1]; exp_continue; }
1911
        -re ".* 620 145a 0109C123" { set x [expr $x+1]; exp_continue; }
1912
        -re ".* 620      1234" { set x [expr $x+1]; exp_continue; }
1913
        -re ".* 621 1460 0109C923" { set x [expr $x+1]; exp_continue; }
1914
        -re ".* 621      12345678" { set x [expr $x+1]; exp_continue; }
1915
        -re ".* 622 1468 0109D223" { set x [expr $x+1]; exp_continue; }
1916
        -re ".* 622      1234" { set x [expr $x+1]; exp_continue; }
1917
        -re ".* 623 146e 0109E223" { set x [expr $x+1]; exp_continue; }
1918
        -re ".* 623      1234" { set x [expr $x+1]; exp_continue; }
1919
        -re ".* 624 1474 0109F223" { set x [expr $x+1]; exp_continue; }
1920
        -re ".* 624      1234" { set x [expr $x+1]; exp_continue; }
1921
        -re ".* 625 147a 0109DA23" { set x [expr $x+1]; exp_continue; }
1922
        -re ".* 625      12345678" { set x [expr $x+1]; exp_continue; }
1923
        -re ".* 626 1482 0109EA23" { set x [expr $x+1]; exp_continue; }
1924
        -re ".* 626      12345678" { set x [expr $x+1]; exp_continue; }
1925
        -re ".* 627 148a 0109FA23" { set x [expr $x+1]; exp_continue; }
1926
        -re ".* 627      12345678" { set x [expr $x+1]; exp_continue; }
1927
        -re ".* 628 1492 01094023" { set x [expr $x+1]; exp_continue; }
1928
        -re ".* 628      1234" { set x [expr $x+1]; exp_continue; }
1929
        -re ".* 629 1498 01094823" { set x [expr $x+1]; exp_continue; }
1930
        -re ".* 629      12345678" { set x [expr $x+1]; exp_continue; }
1931
        -re ".* 630              " {
1932
            if [expr $x == 26] then {
1933
                pass "$testname: cmp.l er3, ..."
1934
            } else {
1935
                fail "$testname: cmp.l er3, ... ($x)"
1936
            }
1937
        }
1938
        default { fail "$testname: cmp.l er3, ... ($x)" }
1939
    }
1940
 
1941
    set x 0
1942
    expect {
1943
        -re ".* 631 14a0 010A0321" { set x [expr $x+1]; exp_continue; }
1944
        -re ".* 632 14a4 010A3321" { set x [expr $x+1]; exp_continue; }
1945
        -re ".* 633 14a8 010A8321" { set x [expr $x+1]; exp_continue; }
1946
        -re ".* 634 14ac 010AB321" { set x [expr $x+1]; exp_continue; }
1947
        -re ".* 635 14b0 010A9321" { set x [expr $x+1]; exp_continue; }
1948
        -re ".* 636 14b4 010AA321" { set x [expr $x+1]; exp_continue; }
1949
        -re ".* 637 14b8 010AC121" { set x [expr $x+1]; exp_continue; }
1950
        -re ".* 637      1234" { set x [expr $x+1]; exp_continue; }
1951
        -re ".* 638 14be 010AC921" { set x [expr $x+1]; exp_continue; }
1952
        -re ".* 638      12345678" { set x [expr $x+1]; exp_continue; }
1953
        -re ".* 639 14c6 010AD221" { set x [expr $x+1]; exp_continue; }
1954
        -re ".* 639      1234" { set x [expr $x+1]; exp_continue; }
1955
        -re ".* 640 14cc 010AE221" { set x [expr $x+1]; exp_continue; }
1956
        -re ".* 640      1234" { set x [expr $x+1]; exp_continue; }
1957
        -re ".* 641 14d2 010AF221" { set x [expr $x+1]; exp_continue; }
1958
        -re ".* 641      1234" { set x [expr $x+1]; exp_continue; }
1959
        -re ".* 642 14d8 010ADA21" { set x [expr $x+1]; exp_continue; }
1960
        -re ".* 642      12345678" { set x [expr $x+1]; exp_continue; }
1961
        -re ".* 643 14e0 010AEA21" { set x [expr $x+1]; exp_continue; }
1962
        -re ".* 643      12345678" { set x [expr $x+1]; exp_continue; }
1963
        -re ".* 644 14e8 010AFA21" { set x [expr $x+1]; exp_continue; }
1964
        -re ".* 644      12345678" { set x [expr $x+1]; exp_continue; }
1965
        -re ".* 645 14f0 010A4021" { set x [expr $x+1]; exp_continue; }
1966
        -re ".* 645      1234" { set x [expr $x+1]; exp_continue; }
1967
        -re ".* 646 14f6 010A4821" { set x [expr $x+1]; exp_continue; }
1968
        -re ".* 646      12345678" { set x [expr $x+1]; exp_continue; }
1969
        -re ".* 647              " {
1970
            if [expr $x == 26] then {
1971
                pass "$testname: cmp.l ..., er1"
1972
            } else {
1973
                fail "$testname: cmp.l ..., er1 ($x)"
1974
            }
1975
        }
1976
        default { fail "$testname: cmp.l ..., er1 ($x)" }
1977
    }
1978
 
1979
    set x 0
1980
    expect {
1981
        -re ".* 648 14fe 0104693C" { set x [expr $x+1]; exp_continue; }
1982
        -re ".* 648      0120" { set x [expr $x+1]; exp_continue; }
1983
        -re ".* 649 1504 0104693C" { set x [expr $x+1]; exp_continue; }
1984
        -re ".* 649      3120" { set x [expr $x+1]; exp_continue; }
1985
        -re ".* 650 150a 0104693C" { set x [expr $x+1]; exp_continue; }
1986
        -re ".* 650      B120" { set x [expr $x+1]; exp_continue; }
1987
        -re ".* 651 1510 0104693C" { set x [expr $x+1]; exp_continue; }
1988
        -re ".* 651      8120" { set x [expr $x+1]; exp_continue; }
1989
        -re ".* 652 1516 0104693C" { set x [expr $x+1]; exp_continue; }
1990
        -re ".* 652      A120" { set x [expr $x+1]; exp_continue; }
1991
        -re ".* 653 151c 0104693C" { set x [expr $x+1]; exp_continue; }
1992
        -re ".* 653      9120" { set x [expr $x+1]; exp_continue; }
1993
        -re ".* 654 1522 0104693C" { set x [expr $x+1]; exp_continue; }
1994
        -re ".* 654      C1209ABC" { set x [expr $x+1]; exp_continue; }
1995
        -re ".* 655 152a 0104693C" { set x [expr $x+1]; exp_continue; }
1996
        -re ".* 655      C9209ABC" { set x [expr $x+1]; exp_continue; }
1997
        -re ".* 655      DEF0" { set x [expr $x+1]; exp_continue; }
1998
        -re ".* 656 1534 0104693C" { set x [expr $x+1]; exp_continue; }
1999
        -re ".* 656      D2209ABC" { set x [expr $x+1]; exp_continue; }
2000
        -re ".* 657 153c 0104693C" { set x [expr $x+1]; exp_continue; }
2001
        -re ".* 657      E2209ABC" { set x [expr $x+1]; exp_continue; }
2002
        -re ".* 658 1544 0104693C" { set x [expr $x+1]; exp_continue; }
2003
        -re ".* 658      F2209ABC" { set x [expr $x+1]; exp_continue; }
2004
        -re ".* 659 154c 0104693C" { set x [expr $x+1]; exp_continue; }
2005
        -re ".* 659      DA209ABC" { set x [expr $x+1]; exp_continue; }
2006
        -re ".* 659      DEF0" { set x [expr $x+1]; exp_continue; }
2007
        -re ".* 660 1556 0104693C" { set x [expr $x+1]; exp_continue; }
2008
        -re ".* 660      EA209ABC" { set x [expr $x+1]; exp_continue; }
2009
        -re ".* 660      DEF0" { set x [expr $x+1]; exp_continue; }
2010
        -re ".* 661 1560 0104693C" { set x [expr $x+1]; exp_continue; }
2011
        -re ".* 661      FA209ABC" { set x [expr $x+1]; exp_continue; }
2012
        -re ".* 661      DEF0" { set x [expr $x+1]; exp_continue; }
2013
        -re ".* 662 156a 0104693C" { set x [expr $x+1]; exp_continue; }
2014
        -re ".* 662      40209ABC" { set x [expr $x+1]; exp_continue; }
2015
        -re ".* 663 1572 0104693C" { set x [expr $x+1]; exp_continue; }
2016
        -re ".* 663      48209ABC" { set x [expr $x+1]; exp_continue; }
2017
        -re ".* 663      DEF0" { set x [expr $x+1]; exp_continue; }
2018
        -re ".* 664              " {
2019
            if [expr $x == 37] then {
2020
                pass "$testname: cmp.l @er3, ..."
2021
            } else {
2022
                fail "$testname: cmp.l @er3, ... ($x)"
2023
            }
2024
        }
2025
        default { fail "$testname: cmp.l @er3, ... ($x)" }
2026
    }
2027
 
2028
    set x 0
2029
    expect {
2030
        -re ".* 665 157c 0107693C" { set x [expr $x+1]; exp_continue; }
2031
        -re ".* 665      0120" { set x [expr $x+1]; exp_continue; }
2032
        -re ".* 666 1582 0107693C" { set x [expr $x+1]; exp_continue; }
2033
        -re ".* 666      3120" { set x [expr $x+1]; exp_continue; }
2034
        -re ".* 667 1588 0107693C" { set x [expr $x+1]; exp_continue; }
2035
        -re ".* 667      B120" { set x [expr $x+1]; exp_continue; }
2036
        -re ".* 668 158e 0107693C" { set x [expr $x+1]; exp_continue; }
2037
        -re ".* 668      8120" { set x [expr $x+1]; exp_continue; }
2038
        -re ".* 669 1594 0107693C" { set x [expr $x+1]; exp_continue; }
2039
        -re ".* 669      A120" { set x [expr $x+1]; exp_continue; }
2040
        -re ".* 670 159a 0107693C" { set x [expr $x+1]; exp_continue; }
2041
        -re ".* 670      9120" { set x [expr $x+1]; exp_continue; }
2042
        -re ".* 671 15a0 0107693C" { set x [expr $x+1]; exp_continue; }
2043
        -re ".* 671      C1209ABC" { set x [expr $x+1]; exp_continue; }
2044
        -re ".* 672 15a8 0107693C" { set x [expr $x+1]; exp_continue; }
2045
        -re ".* 672      C9209ABC" { set x [expr $x+1]; exp_continue; }
2046
        -re ".* 672      DEF0" { set x [expr $x+1]; exp_continue; }
2047
        -re ".* 673 15b2 0107693C" { set x [expr $x+1]; exp_continue; }
2048
        -re ".* 673      D2209ABC" { set x [expr $x+1]; exp_continue; }
2049
        -re ".* 674 15ba 0107693C" { set x [expr $x+1]; exp_continue; }
2050
        -re ".* 674      E2209ABC" { set x [expr $x+1]; exp_continue; }
2051
        -re ".* 675 15c2 0107693C" { set x [expr $x+1]; exp_continue; }
2052
        -re ".* 675      F2209ABC" { set x [expr $x+1]; exp_continue; }
2053
        -re ".* 676 15ca 0107693C" { set x [expr $x+1]; exp_continue; }
2054
        -re ".* 676      DA209ABC" { set x [expr $x+1]; exp_continue; }
2055
        -re ".* 676      DEF0" { set x [expr $x+1]; exp_continue; }
2056
        -re ".* 677 15d4 0107693C" { set x [expr $x+1]; exp_continue; }
2057
        -re ".* 677      EA209ABC" { set x [expr $x+1]; exp_continue; }
2058
        -re ".* 677      DEF0" { set x [expr $x+1]; exp_continue; }
2059
        -re ".* 678 15de 0107693C" { set x [expr $x+1]; exp_continue; }
2060
        -re ".* 678      FA209ABC" { set x [expr $x+1]; exp_continue; }
2061
        -re ".* 678      DEF0" { set x [expr $x+1]; exp_continue; }
2062
        -re ".* 679 15e8 0107693C" { set x [expr $x+1]; exp_continue; }
2063
        -re ".* 679      40209ABC" { set x [expr $x+1]; exp_continue; }
2064
        -re ".* 680 15f0 0107693C" { set x [expr $x+1]; exp_continue; }
2065
        -re ".* 680      48209ABC" { set x [expr $x+1]; exp_continue; }
2066
        -re ".* 680      DEF0" { set x [expr $x+1]; exp_continue; }
2067
        -re ".* 681              " {
2068
            if [expr $x == 37] then {
2069
                pass "$testname: cmp.l @(0xc:2,er3), ..."
2070
            } else {
2071
                fail "$testname: cmp.l @(0xc:2,er3), ... ($x)"
2072
            }
2073
        }
2074
        default { fail "$testname: cmp.l @(0xc:2,er3), ... ($x)" }
2075
    }
2076
 
2077
    set x 0
2078
    expect {
2079
        -re ".* 682 15fa 01076D3C" { set x [expr $x+1]; exp_continue; }
2080
        -re ".* 682      0120" { set x [expr $x+1]; exp_continue; }
2081
        -re ".* 683 1600 01076D3C" { set x [expr $x+1]; exp_continue; }
2082
        -re ".* 683      3120" { set x [expr $x+1]; exp_continue; }
2083
        -re ".* 684 1606 01076D3C" { set x [expr $x+1]; exp_continue; }
2084
        -re ".* 684      B120" { set x [expr $x+1]; exp_continue; }
2085
        -re ".* 685 160c 01076D3C" { set x [expr $x+1]; exp_continue; }
2086
        -re ".* 685      8120" { set x [expr $x+1]; exp_continue; }
2087
        -re ".* 686 1612 01076D3C" { set x [expr $x+1]; exp_continue; }
2088
        -re ".* 686      A120" { set x [expr $x+1]; exp_continue; }
2089
        -re ".* 687 1618 01076D3C" { set x [expr $x+1]; exp_continue; }
2090
        -re ".* 687      9120" { set x [expr $x+1]; exp_continue; }
2091
        -re ".* 688 161e 01076D3C" { set x [expr $x+1]; exp_continue; }
2092
        -re ".* 688      C1209ABC" { set x [expr $x+1]; exp_continue; }
2093
        -re ".* 689 1626 01076D3C" { set x [expr $x+1]; exp_continue; }
2094
        -re ".* 689      C9209ABC" { set x [expr $x+1]; exp_continue; }
2095
        -re ".* 689      DEF0" { set x [expr $x+1]; exp_continue; }
2096
        -re ".* 690 1630 01076D3C" { set x [expr $x+1]; exp_continue; }
2097
        -re ".* 690      D2209ABC" { set x [expr $x+1]; exp_continue; }
2098
        -re ".* 691 1638 01076D3C" { set x [expr $x+1]; exp_continue; }
2099
        -re ".* 691      E2209ABC" { set x [expr $x+1]; exp_continue; }
2100
        -re ".* 692 1640 01076D3C" { set x [expr $x+1]; exp_continue; }
2101
        -re ".* 692      F2209ABC" { set x [expr $x+1]; exp_continue; }
2102
        -re ".* 693 1648 01076D3C" { set x [expr $x+1]; exp_continue; }
2103
        -re ".* 693      DA209ABC" { set x [expr $x+1]; exp_continue; }
2104
        -re ".* 693      DEF0" { set x [expr $x+1]; exp_continue; }
2105
        -re ".* 694 1652 01076D3C" { set x [expr $x+1]; exp_continue; }
2106
        -re ".* 694      EA209ABC" { set x [expr $x+1]; exp_continue; }
2107
        -re ".* 694      DEF0" { set x [expr $x+1]; exp_continue; }
2108
        -re ".* 695 165c 01076D3C" { set x [expr $x+1]; exp_continue; }
2109
        -re ".* 695      FA209ABC" { set x [expr $x+1]; exp_continue; }
2110
        -re ".* 695      DEF0" { set x [expr $x+1]; exp_continue; }
2111
        -re ".* 696 1666 01076D3C" { set x [expr $x+1]; exp_continue; }
2112
        -re ".* 696      40209ABC" { set x [expr $x+1]; exp_continue; }
2113
        -re ".* 697 166e 01076D3C" { set x [expr $x+1]; exp_continue; }
2114
        -re ".* 697      48209ABC" { set x [expr $x+1]; exp_continue; }
2115
        -re ".* 697      DEF0" { set x [expr $x+1]; exp_continue; }
2116
        -re ".* 698              " {
2117
            if [expr $x == 37] then {
2118
                pass "$testname: cmp.l @-er3, ..."
2119
            } else {
2120
                fail "$testname: cmp.l @-er3, ... ($x)"
2121
            }
2122
        }
2123
        default { fail "$testname: cmp.l @-er3, ... ($x)" }
2124
    }
2125
 
2126
    set x 0
2127
    expect {
2128
        -re ".* 699 1678 01046D3C" { set x [expr $x+1]; exp_continue; }
2129
        -re ".* 699      0120" { set x [expr $x+1]; exp_continue; }
2130
        -re ".* 700 167e 01046D3C" { set x [expr $x+1]; exp_continue; }
2131
        -re ".* 700      3120" { set x [expr $x+1]; exp_continue; }
2132
        -re ".* 701 1684 01046D3C" { set x [expr $x+1]; exp_continue; }
2133
        -re ".* 701      B120" { set x [expr $x+1]; exp_continue; }
2134
        -re ".* 702 168a 01046D3C" { set x [expr $x+1]; exp_continue; }
2135
        -re ".* 702      8120" { set x [expr $x+1]; exp_continue; }
2136
        -re ".* 703 1690 01046D3C" { set x [expr $x+1]; exp_continue; }
2137
        -re ".* 703      A120" { set x [expr $x+1]; exp_continue; }
2138
        -re ".* 704 1696 01046D3C" { set x [expr $x+1]; exp_continue; }
2139
        -re ".* 704      9120" { set x [expr $x+1]; exp_continue; }
2140
        -re ".* 705 169c 01046D3C" { set x [expr $x+1]; exp_continue; }
2141
        -re ".* 705      C1209ABC" { set x [expr $x+1]; exp_continue; }
2142
        -re ".* 706 16a4 01046D3C" { set x [expr $x+1]; exp_continue; }
2143
        -re ".* 706      C9209ABC" { set x [expr $x+1]; exp_continue; }
2144
        -re ".* 706      DEF0" { set x [expr $x+1]; exp_continue; }
2145
        -re ".* 707 16ae 01046D3C" { set x [expr $x+1]; exp_continue; }
2146
        -re ".* 707      D2209ABC" { set x [expr $x+1]; exp_continue; }
2147
        -re ".* 708 16b6 01046D3C" { set x [expr $x+1]; exp_continue; }
2148
        -re ".* 708      E2209ABC" { set x [expr $x+1]; exp_continue; }
2149
        -re ".* 709 16be 01046D3C" { set x [expr $x+1]; exp_continue; }
2150
        -re ".* 709      F2209ABC" { set x [expr $x+1]; exp_continue; }
2151
        -re ".* 710 16c6 01046D3C" { set x [expr $x+1]; exp_continue; }
2152
        -re ".* 710      DA209ABC" { set x [expr $x+1]; exp_continue; }
2153
        -re ".* 710      DEF0" { set x [expr $x+1]; exp_continue; }
2154
        -re ".* 711 16d0 01046D3C" { set x [expr $x+1]; exp_continue; }
2155
        -re ".* 711      EA209ABC" { set x [expr $x+1]; exp_continue; }
2156
        -re ".* 711      DEF0" { set x [expr $x+1]; exp_continue; }
2157
        -re ".* 712 16da 01046D3C" { set x [expr $x+1]; exp_continue; }
2158
        -re ".* 712      FA209ABC" { set x [expr $x+1]; exp_continue; }
2159
        -re ".* 712      DEF0" { set x [expr $x+1]; exp_continue; }
2160
        -re ".* 713 16e4 01046D3C" { set x [expr $x+1]; exp_continue; }
2161
        -re ".* 713      40209ABC" { set x [expr $x+1]; exp_continue; }
2162
        -re ".* 714 16ec 01046D3C" { set x [expr $x+1]; exp_continue; }
2163
        -re ".* 714      48209ABC" { set x [expr $x+1]; exp_continue; }
2164
        -re ".* 714      DEF0" { set x [expr $x+1]; exp_continue; }
2165
        -re ".* 715              " {
2166
            if [expr $x == 37] then {
2167
                pass "$testname: cmp.l @er3+, ..."
2168
            } else {
2169
                fail "$testname: cmp.l @er3+, ... ($x)"
2170
            }
2171
        }
2172
        default { fail "$testname: cmp.l @er3+, ... ($x)" }
2173
    }
2174
 
2175
    set x 0
2176
    expect {
2177
        -re ".* 716 16f6 01066D3C" { set x [expr $x+1]; exp_continue; }
2178
        -re ".* 716      0120" { set x [expr $x+1]; exp_continue; }
2179
        -re ".* 717 16fc 01066D3C" { set x [expr $x+1]; exp_continue; }
2180
        -re ".* 717      3120" { set x [expr $x+1]; exp_continue; }
2181
        -re ".* 718 1702 01066D3C" { set x [expr $x+1]; exp_continue; }
2182
        -re ".* 718      B120" { set x [expr $x+1]; exp_continue; }
2183
        -re ".* 719 1708 01066D3C" { set x [expr $x+1]; exp_continue; }
2184
        -re ".* 719      8120" { set x [expr $x+1]; exp_continue; }
2185
        -re ".* 720 170e 01066D3C" { set x [expr $x+1]; exp_continue; }
2186
        -re ".* 720      A120" { set x [expr $x+1]; exp_continue; }
2187
        -re ".* 721 1714 01066D3C" { set x [expr $x+1]; exp_continue; }
2188
        -re ".* 721      9120" { set x [expr $x+1]; exp_continue; }
2189
        -re ".* 722 171a 01066D3C" { set x [expr $x+1]; exp_continue; }
2190
        -re ".* 722      C1209ABC" { set x [expr $x+1]; exp_continue; }
2191
        -re ".* 723 1722 01066D3C" { set x [expr $x+1]; exp_continue; }
2192
        -re ".* 723      C9209ABC" { set x [expr $x+1]; exp_continue; }
2193
        -re ".* 723      DEF0" { set x [expr $x+1]; exp_continue; }
2194
        -re ".* 724 172c 01066D3C" { set x [expr $x+1]; exp_continue; }
2195
        -re ".* 724      D2209ABC" { set x [expr $x+1]; exp_continue; }
2196
        -re ".* 725 1734 01066D3C" { set x [expr $x+1]; exp_continue; }
2197
        -re ".* 725      E2209ABC" { set x [expr $x+1]; exp_continue; }
2198
        -re ".* 726 173c 01066D3C" { set x [expr $x+1]; exp_continue; }
2199
        -re ".* 726      F2209ABC" { set x [expr $x+1]; exp_continue; }
2200
        -re ".* 727 1744 01066D3C" { set x [expr $x+1]; exp_continue; }
2201
        -re ".* 727      DA209ABC" { set x [expr $x+1]; exp_continue; }
2202
        -re ".* 727      DEF0" { set x [expr $x+1]; exp_continue; }
2203
        -re ".* 728 174e 01066D3C" { set x [expr $x+1]; exp_continue; }
2204
        -re ".* 728      EA209ABC" { set x [expr $x+1]; exp_continue; }
2205
        -re ".* 728      DEF0" { set x [expr $x+1]; exp_continue; }
2206
        -re ".* 729 1758 01066D3C" { set x [expr $x+1]; exp_continue; }
2207
        -re ".* 729      FA209ABC" { set x [expr $x+1]; exp_continue; }
2208
        -re ".* 729      DEF0" { set x [expr $x+1]; exp_continue; }
2209
        -re ".* 730 1762 01066D3C" { set x [expr $x+1]; exp_continue; }
2210
        -re ".* 730      40209ABC" { set x [expr $x+1]; exp_continue; }
2211
        -re ".* 731 176a 01066D3C" { set x [expr $x+1]; exp_continue; }
2212
        -re ".* 731      48209ABC" { set x [expr $x+1]; exp_continue; }
2213
        -re ".* 731      DEF0" { set x [expr $x+1]; exp_continue; }
2214
        -re ".* 732              " {
2215
            if [expr $x == 37] then {
2216
                pass "$testname: cmp.l @er3-, ..."
2217
            } else {
2218
                fail "$testname: cmp.l @er3-, ... ($x)"
2219
            }
2220
        }
2221
        default { fail "$testname: cmp.l @er3-, ... ($x)" }
2222
    }
2223
 
2224
    set x 0
2225
    expect {
2226
        -re ".* 733 1774 01056D3C" { set x [expr $x+1]; exp_continue; }
2227
        -re ".* 733      0120" { set x [expr $x+1]; exp_continue; }
2228
        -re ".* 734 177a 01056D3C" { set x [expr $x+1]; exp_continue; }
2229
        -re ".* 734      3120" { set x [expr $x+1]; exp_continue; }
2230
        -re ".* 735 1780 01056D3C" { set x [expr $x+1]; exp_continue; }
2231
        -re ".* 735      B120" { set x [expr $x+1]; exp_continue; }
2232
        -re ".* 736 1786 01056D3C" { set x [expr $x+1]; exp_continue; }
2233
        -re ".* 736      8120" { set x [expr $x+1]; exp_continue; }
2234
        -re ".* 737 178c 01056D3C" { set x [expr $x+1]; exp_continue; }
2235
        -re ".* 737      A120" { set x [expr $x+1]; exp_continue; }
2236
        -re ".* 738 1792 01056D3C" { set x [expr $x+1]; exp_continue; }
2237
        -re ".* 738      9120" { set x [expr $x+1]; exp_continue; }
2238
        -re ".* 739 1798 01056D3C" { set x [expr $x+1]; exp_continue; }
2239
        -re ".* 739      C1209ABC" { set x [expr $x+1]; exp_continue; }
2240
        -re ".* 740 17a0 01056D3C" { set x [expr $x+1]; exp_continue; }
2241
        -re ".* 740      C9209ABC" { set x [expr $x+1]; exp_continue; }
2242
        -re ".* 740      DEF0" { set x [expr $x+1]; exp_continue; }
2243
        -re ".* 741 17aa 01056D3C" { set x [expr $x+1]; exp_continue; }
2244
        -re ".* 741      D2209ABC" { set x [expr $x+1]; exp_continue; }
2245
        -re ".* 742 17b2 01056D3C" { set x [expr $x+1]; exp_continue; }
2246
        -re ".* 742      E2209ABC" { set x [expr $x+1]; exp_continue; }
2247
        -re ".* 743 17ba 01056D3C" { set x [expr $x+1]; exp_continue; }
2248
        -re ".* 743      F2209ABC" { set x [expr $x+1]; exp_continue; }
2249
        -re ".* 744 17c2 01056D3C" { set x [expr $x+1]; exp_continue; }
2250
        -re ".* 744      DA209ABC" { set x [expr $x+1]; exp_continue; }
2251
        -re ".* 744      DEF0" { set x [expr $x+1]; exp_continue; }
2252
        -re ".* 745 17cc 01056D3C" { set x [expr $x+1]; exp_continue; }
2253
        -re ".* 745      EA209ABC" { set x [expr $x+1]; exp_continue; }
2254
        -re ".* 745      DEF0" { set x [expr $x+1]; exp_continue; }
2255
        -re ".* 746 17d6 01056D3C" { set x [expr $x+1]; exp_continue; }
2256
        -re ".* 746      FA209ABC" { set x [expr $x+1]; exp_continue; }
2257
        -re ".* 746      DEF0" { set x [expr $x+1]; exp_continue; }
2258
        -re ".* 747 17e0 01056D3C" { set x [expr $x+1]; exp_continue; }
2259
        -re ".* 747      40209ABC" { set x [expr $x+1]; exp_continue; }
2260
        -re ".* 748 17e8 01056D3C" { set x [expr $x+1]; exp_continue; }
2261
        -re ".* 748      48209ABC" { set x [expr $x+1]; exp_continue; }
2262
        -re ".* 748      DEF0" { set x [expr $x+1]; exp_continue; }
2263
        -re ".* 749              " {
2264
            if [expr $x == 37] then {
2265
                pass "$testname: cmp.l @+er3, ..."
2266
            } else {
2267
                fail "$testname: cmp.l @+er3, ... ($x)"
2268
            }
2269
        }
2270
        default { fail "$testname: cmp.l @+er3, ... ($x)" }
2271
    }
2272
 
2273
    set x 0
2274
    expect {
2275
        -re ".* 750 17f2 01046F3C" { set x [expr $x+1]; exp_continue; }
2276
        -re ".* 750      12340120" { set x [expr $x+1]; exp_continue; }
2277
        -re ".* 751 17fa 01046F3C" { set x [expr $x+1]; exp_continue; }
2278
        -re ".* 751      12343120" { set x [expr $x+1]; exp_continue; }
2279
        -re ".* 752 1802 01046F3C" { set x [expr $x+1]; exp_continue; }
2280
        -re ".* 752      1234B120" { set x [expr $x+1]; exp_continue; }
2281
        -re ".* 753 180a 01046F3C" { set x [expr $x+1]; exp_continue; }
2282
        -re ".* 753      12348120" { set x [expr $x+1]; exp_continue; }
2283
        -re ".* 754 1812 01046F3C" { set x [expr $x+1]; exp_continue; }
2284
        -re ".* 754      1234A120" { set x [expr $x+1]; exp_continue; }
2285
        -re ".* 755 181a 01046F3C" { set x [expr $x+1]; exp_continue; }
2286
        -re ".* 755      12349120" { set x [expr $x+1]; exp_continue; }
2287
        -re ".* 756 1822 01046F3C" { set x [expr $x+1]; exp_continue; }
2288
        -re ".* 756      1234C120" { set x [expr $x+1]; exp_continue; }
2289
        -re ".* 756      9ABC" { set x [expr $x+1]; exp_continue; }
2290
        -re ".* 757 182c 01046F3C" { set x [expr $x+1]; exp_continue; }
2291
        -re ".* 757      1234C920" { set x [expr $x+1]; exp_continue; }
2292
        -re ".* 757      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2293
        -re ".* 758 1838 01046F3C" { set x [expr $x+1]; exp_continue; }
2294
        -re ".* 758      1234D220" { set x [expr $x+1]; exp_continue; }
2295
        -re ".* 758      9ABC" { set x [expr $x+1]; exp_continue; }
2296
        -re ".* 759 1842 01046F3C" { set x [expr $x+1]; exp_continue; }
2297
        -re ".* 759      1234E220" { set x [expr $x+1]; exp_continue; }
2298
        -re ".* 759      9ABC" { set x [expr $x+1]; exp_continue; }
2299
        -re ".* 760 184c 01046F3C" { set x [expr $x+1]; exp_continue; }
2300
        -re ".* 760      1234F220" { set x [expr $x+1]; exp_continue; }
2301
        -re ".* 760      9ABC" { set x [expr $x+1]; exp_continue; }
2302
        -re ".* 761 1856 01046F3C" { set x [expr $x+1]; exp_continue; }
2303
        -re ".* 761      1234DA20" { set x [expr $x+1]; exp_continue; }
2304
        -re ".* 761      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2305
        -re ".* 762 1862 01046F3C" { set x [expr $x+1]; exp_continue; }
2306
        -re ".* 762      1234EA20" { set x [expr $x+1]; exp_continue; }
2307
        -re ".* 762      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2308
        -re ".* 763 186e 01046F3C" { set x [expr $x+1]; exp_continue; }
2309
        -re ".* 763      1234FA20" { set x [expr $x+1]; exp_continue; }
2310
        -re ".* 763      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2311
        -re ".* 764 187a 01046F3C" { set x [expr $x+1]; exp_continue; }
2312
        -re ".* 764      12344020" { set x [expr $x+1]; exp_continue; }
2313
        -re ".* 764      9ABC" { set x [expr $x+1]; exp_continue; }
2314
        -re ".* 765 1884 01046F3C" { set x [expr $x+1]; exp_continue; }
2315
        -re ".* 765      12344820" { set x [expr $x+1]; exp_continue; }
2316
        -re ".* 765      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2317
        -re ".* 766              " {
2318
            if [expr $x == 42] then {
2319
                pass "$testname: cmp.l @(0x1234:16,er3), ..."
2320
            } else {
2321
                fail "$testname: cmp.l @(0x1234:16,er3), ... ($x)"
2322
            }
2323
        }
2324
        default { fail "$testname: cmp.l @(0x1234:16,er3), ... ($x)" }
2325
    }
2326
 
2327
    set x 0
2328
    expect {
2329
        -re ".* 767 1890 78B46B2C" { set x [expr $x+1]; exp_continue; }
2330
        -re ".* 767      12345678" { set x [expr $x+1]; exp_continue; }
2331
        -re ".* 767      0120" { set x [expr $x+1]; exp_continue; }
2332
        -re ".* 768 189a 78B46B2C" { set x [expr $x+1]; exp_continue; }
2333
        -re ".* 768      12345678" { set x [expr $x+1]; exp_continue; }
2334
        -re ".* 768      3120" { set x [expr $x+1]; exp_continue; }
2335
        -re ".* 769 18a4 78B46B2C" { set x [expr $x+1]; exp_continue; }
2336
        -re ".* 769      12345678" { set x [expr $x+1]; exp_continue; }
2337
        -re ".* 769      B120" { set x [expr $x+1]; exp_continue; }
2338
        -re ".* 770 18ae 78B46B2C" { set x [expr $x+1]; exp_continue; }
2339
        -re ".* 770      12345678" { set x [expr $x+1]; exp_continue; }
2340
        -re ".* 770      8120" { set x [expr $x+1]; exp_continue; }
2341
        -re ".* 771 18b8 78B46B2C" { set x [expr $x+1]; exp_continue; }
2342
        -re ".* 771      12345678" { set x [expr $x+1]; exp_continue; }
2343
        -re ".* 771      A120" { set x [expr $x+1]; exp_continue; }
2344
        -re ".* 772 18c2 78B46B2C" { set x [expr $x+1]; exp_continue; }
2345
        -re ".* 772      12345678" { set x [expr $x+1]; exp_continue; }
2346
        -re ".* 772      9120" { set x [expr $x+1]; exp_continue; }
2347
        -re ".* 773 18cc 78B46B2C" { set x [expr $x+1]; exp_continue; }
2348
        -re ".* 773      12345678" { set x [expr $x+1]; exp_continue; }
2349
        -re ".* 773      C1209ABC" { set x [expr $x+1]; exp_continue; }
2350
        -re ".* 774 18d8 78B46B2C" { set x [expr $x+1]; exp_continue; }
2351
        -re ".* 774      12345678" { set x [expr $x+1]; exp_continue; }
2352
        -re ".* 774      C9209ABC" { set x [expr $x+1]; exp_continue; }
2353
        -re ".* 774      DEF0" { set x [expr $x+1]; exp_continue; }
2354
        -re ".* 775 18e6 78B46B2C" { set x [expr $x+1]; exp_continue; }
2355
        -re ".* 775      12345678" { set x [expr $x+1]; exp_continue; }
2356
        -re ".* 775      D2209ABC" { set x [expr $x+1]; exp_continue; }
2357
        -re ".* 776 18f2 78B46B2C" { set x [expr $x+1]; exp_continue; }
2358
        -re ".* 776      12345678" { set x [expr $x+1]; exp_continue; }
2359
        -re ".* 776      E2209ABC" { set x [expr $x+1]; exp_continue; }
2360
        -re ".* 777 18fe 78B46B2C" { set x [expr $x+1]; exp_continue; }
2361
        -re ".* 777      12345678" { set x [expr $x+1]; exp_continue; }
2362
        -re ".* 777      F2209ABC" { set x [expr $x+1]; exp_continue; }
2363
        -re ".* 778 190a 78B46B2C" { set x [expr $x+1]; exp_continue; }
2364
        -re ".* 778      12345678" { set x [expr $x+1]; exp_continue; }
2365
        -re ".* 778      DA209ABC" { set x [expr $x+1]; exp_continue; }
2366
        -re ".* 778      DEF0" { set x [expr $x+1]; exp_continue; }
2367
        -re ".* 779 1918 78B46B2C" { set x [expr $x+1]; exp_continue; }
2368
        -re ".* 779      12345678" { set x [expr $x+1]; exp_continue; }
2369
        -re ".* 779      EA209ABC" { set x [expr $x+1]; exp_continue; }
2370
        -re ".* 779      DEF0" { set x [expr $x+1]; exp_continue; }
2371
        -re ".* 780 1926 78B46B2C" { set x [expr $x+1]; exp_continue; }
2372
        -re ".* 780      12345678" { set x [expr $x+1]; exp_continue; }
2373
        -re ".* 780      FA209ABC" { set x [expr $x+1]; exp_continue; }
2374
        -re ".* 780      DEF0" { set x [expr $x+1]; exp_continue; }
2375
        -re ".* 781 1934 78B46B2C" { set x [expr $x+1]; exp_continue; }
2376
        -re ".* 781      12345678" { set x [expr $x+1]; exp_continue; }
2377
        -re ".* 781      40209ABC" { set x [expr $x+1]; exp_continue; }
2378
        -re ".* 782 1940 78B46B2C" { set x [expr $x+1]; exp_continue; }
2379
        -re ".* 782      12345678" { set x [expr $x+1]; exp_continue; }
2380
        -re ".* 782      48209ABC" { set x [expr $x+1]; exp_continue; }
2381
        -re ".* 782      DEF0" { set x [expr $x+1]; exp_continue; }
2382
        -re ".* 783              " {
2383
            if [expr $x == 53] then {
2384
                pass "$testname: cmp.l @(0x12345678:32,er3), ..."
2385
            } else {
2386
                fail "$testname: cmp.l @(0x12345678:32,er3), ... ($x)"
2387
            }
2388
        }
2389
        default { fail "$testname: cmp.l @(0x12345678:32,er3), ... ($x)" }
2390
    }
2391
 
2392
    set x 0
2393
    expect {
2394
        -re ".* 784 194e 01056F3C" { set x [expr $x+1]; exp_continue; }
2395
        -re ".* 784      12340120" { set x [expr $x+1]; exp_continue; }
2396
        -re ".* 785 1956 01056F3C" { set x [expr $x+1]; exp_continue; }
2397
        -re ".* 785      12343120" { set x [expr $x+1]; exp_continue; }
2398
        -re ".* 786 195e 01056F3C" { set x [expr $x+1]; exp_continue; }
2399
        -re ".* 786      1234B120" { set x [expr $x+1]; exp_continue; }
2400
        -re ".* 787 1966 01056F3C" { set x [expr $x+1]; exp_continue; }
2401
        -re ".* 787      12348120" { set x [expr $x+1]; exp_continue; }
2402
        -re ".* 788 196e 01056F3C" { set x [expr $x+1]; exp_continue; }
2403
        -re ".* 788      1234A120" { set x [expr $x+1]; exp_continue; }
2404
        -re ".* 789 1976 01056F3C" { set x [expr $x+1]; exp_continue; }
2405
        -re ".* 789      12349120" { set x [expr $x+1]; exp_continue; }
2406
        -re ".* 790 197e 01056F3C" { set x [expr $x+1]; exp_continue; }
2407
        -re ".* 790      1234C120" { set x [expr $x+1]; exp_continue; }
2408
        -re ".* 790      9ABC" { set x [expr $x+1]; exp_continue; }
2409
        -re ".* 791 1988 01056F3C" { set x [expr $x+1]; exp_continue; }
2410
        -re ".* 791      1234C920" { set x [expr $x+1]; exp_continue; }
2411
        -re ".* 791      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2412
        -re ".* 792 1994 01056F3C" { set x [expr $x+1]; exp_continue; }
2413
        -re ".* 792      1234D220" { set x [expr $x+1]; exp_continue; }
2414
        -re ".* 792      9ABC" { set x [expr $x+1]; exp_continue; }
2415
        -re ".* 793 199e 01056F3C" { set x [expr $x+1]; exp_continue; }
2416
        -re ".* 793      1234E220" { set x [expr $x+1]; exp_continue; }
2417
        -re ".* 793      9ABC" { set x [expr $x+1]; exp_continue; }
2418
        -re ".* 794 19a8 01056F3C" { set x [expr $x+1]; exp_continue; }
2419
        -re ".* 794      1234F220" { set x [expr $x+1]; exp_continue; }
2420
        -re ".* 794      9ABC" { set x [expr $x+1]; exp_continue; }
2421
        -re ".* 795 19b2 01056F3C" { set x [expr $x+1]; exp_continue; }
2422
        -re ".* 795      1234DA20" { set x [expr $x+1]; exp_continue; }
2423
        -re ".* 795      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2424
        -re ".* 796 19be 01056F3C" { set x [expr $x+1]; exp_continue; }
2425
        -re ".* 796      1234EA20" { set x [expr $x+1]; exp_continue; }
2426
        -re ".* 796      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2427
        -re ".* 797 19ca 01056F3C" { set x [expr $x+1]; exp_continue; }
2428
        -re ".* 797      1234FA20" { set x [expr $x+1]; exp_continue; }
2429
        -re ".* 797      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2430
        -re ".* 798 19d6 01056F3C" { set x [expr $x+1]; exp_continue; }
2431
        -re ".* 798      12344020" { set x [expr $x+1]; exp_continue; }
2432
        -re ".* 798      9ABC" { set x [expr $x+1]; exp_continue; }
2433
        -re ".* 799 19e0 01056F3C" { set x [expr $x+1]; exp_continue; }
2434
        -re ".* 799      12344820" { set x [expr $x+1]; exp_continue; }
2435
        -re ".* 799      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2436
        -re ".* 800              " {
2437
            if [expr $x == 42] then {
2438
                pass "$testname: cmp.l @(0x1234:16,r3l.b), ..."
2439
            } else {
2440
                fail "$testname: cmp.l @(0x1234:16,r3l.b), ... ($x)"
2441
            }
2442
        }
2443
        default { fail "$testname: cmp.l @(0x1234:16,r3l.b), ... ($x)" }
2444
    }
2445
 
2446
    set x 0
2447
    expect {
2448
        -re ".* 801 19ec 01066F3C" { set x [expr $x+1]; exp_continue; }
2449
        -re ".* 801      12340120" { set x [expr $x+1]; exp_continue; }
2450
        -re ".* 802 19f4 01066F3C" { set x [expr $x+1]; exp_continue; }
2451
        -re ".* 802      12343120" { set x [expr $x+1]; exp_continue; }
2452
        -re ".* 803 19fc 01066F3C" { set x [expr $x+1]; exp_continue; }
2453
        -re ".* 803      1234B120" { set x [expr $x+1]; exp_continue; }
2454
        -re ".* 804 1a04 01066F3C" { set x [expr $x+1]; exp_continue; }
2455
        -re ".* 804      12348120" { set x [expr $x+1]; exp_continue; }
2456
        -re ".* 805 1a0c 01066F3C" { set x [expr $x+1]; exp_continue; }
2457
        -re ".* 805      1234A120" { set x [expr $x+1]; exp_continue; }
2458
        -re ".* 806 1a14 01066F3C" { set x [expr $x+1]; exp_continue; }
2459
        -re ".* 806      12349120" { set x [expr $x+1]; exp_continue; }
2460
        -re ".* 807 1a1c 01066F3C" { set x [expr $x+1]; exp_continue; }
2461
        -re ".* 807      1234C120" { set x [expr $x+1]; exp_continue; }
2462
        -re ".* 807      9ABC" { set x [expr $x+1]; exp_continue; }
2463
        -re ".* 808 1a26 01066F3C" { set x [expr $x+1]; exp_continue; }
2464
        -re ".* 808      1234C920" { set x [expr $x+1]; exp_continue; }
2465
        -re ".* 808      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2466
        -re ".* 809 1a32 01066F3C" { set x [expr $x+1]; exp_continue; }
2467
        -re ".* 809      1234D220" { set x [expr $x+1]; exp_continue; }
2468
        -re ".* 809      9ABC" { set x [expr $x+1]; exp_continue; }
2469
        -re ".* 810 1a3c 01066F3C" { set x [expr $x+1]; exp_continue; }
2470
        -re ".* 810      1234E220" { set x [expr $x+1]; exp_continue; }
2471
        -re ".* 810      9ABC" { set x [expr $x+1]; exp_continue; }
2472
        -re ".* 811 1a46 01066F3C" { set x [expr $x+1]; exp_continue; }
2473
        -re ".* 811      1234F220" { set x [expr $x+1]; exp_continue; }
2474
        -re ".* 811      9ABC" { set x [expr $x+1]; exp_continue; }
2475
        -re ".* 812 1a50 01066F3C" { set x [expr $x+1]; exp_continue; }
2476
        -re ".* 812      1234DA20" { set x [expr $x+1]; exp_continue; }
2477
        -re ".* 812      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2478
        -re ".* 813 1a5c 01066F3C" { set x [expr $x+1]; exp_continue; }
2479
        -re ".* 813      1234EA20" { set x [expr $x+1]; exp_continue; }
2480
        -re ".* 813      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2481
        -re ".* 814 1a68 01066F3C" { set x [expr $x+1]; exp_continue; }
2482
        -re ".* 814      1234FA20" { set x [expr $x+1]; exp_continue; }
2483
        -re ".* 814      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2484
        -re ".* 815 1a74 01066F3C" { set x [expr $x+1]; exp_continue; }
2485
        -re ".* 815      12344020" { set x [expr $x+1]; exp_continue; }
2486
        -re ".* 815      9ABC" { set x [expr $x+1]; exp_continue; }
2487
        -re ".* 816 1a7e 01066F3C" { set x [expr $x+1]; exp_continue; }
2488
        -re ".* 816      12344820" { set x [expr $x+1]; exp_continue; }
2489
        -re ".* 816      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2490
        -re ".* 817              " {
2491
            if [expr $x == 42] then {
2492
                pass "$testname: cmp.l @(0x1234:16,r3.w), ..."
2493
            } else {
2494
                fail "$testname: cmp.l @(0x1234:16,r3.w), ... ($x)"
2495
            }
2496
        }
2497
        default { fail "$testname: cmp.l @(0x1234:16,r3.w), ... ($x)" }
2498
    }
2499
 
2500
    set x 0
2501
    expect {
2502
        -re ".* 818 1a8a 01076F3C" { set x [expr $x+1]; exp_continue; }
2503
        -re ".* 818      12340120" { set x [expr $x+1]; exp_continue; }
2504
        -re ".* 819 1a92 01076F3C" { set x [expr $x+1]; exp_continue; }
2505
        -re ".* 819      12343120" { set x [expr $x+1]; exp_continue; }
2506
        -re ".* 820 1a9a 01076F3C" { set x [expr $x+1]; exp_continue; }
2507
        -re ".* 820      1234B120" { set x [expr $x+1]; exp_continue; }
2508
        -re ".* 821 1aa2 01076F3C" { set x [expr $x+1]; exp_continue; }
2509
        -re ".* 821      12348120" { set x [expr $x+1]; exp_continue; }
2510
        -re ".* 822 1aaa 01076F3C" { set x [expr $x+1]; exp_continue; }
2511
        -re ".* 822      1234A120" { set x [expr $x+1]; exp_continue; }
2512
        -re ".* 823 1ab2 01076F3C" { set x [expr $x+1]; exp_continue; }
2513
        -re ".* 823      12349120" { set x [expr $x+1]; exp_continue; }
2514
        -re ".* 824 1aba 01076F3C" { set x [expr $x+1]; exp_continue; }
2515
        -re ".* 824      1234C120" { set x [expr $x+1]; exp_continue; }
2516
        -re ".* 824      9ABC" { set x [expr $x+1]; exp_continue; }
2517
        -re ".* 825 1ac4 01076F3C" { set x [expr $x+1]; exp_continue; }
2518
        -re ".* 825      1234C920" { set x [expr $x+1]; exp_continue; }
2519
        -re ".* 825      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2520
        -re ".* 826 1ad0 01076F3C" { set x [expr $x+1]; exp_continue; }
2521
        -re ".* 826      1234D220" { set x [expr $x+1]; exp_continue; }
2522
        -re ".* 826      9ABC" { set x [expr $x+1]; exp_continue; }
2523
        -re ".* 827 1ada 01076F3C" { set x [expr $x+1]; exp_continue; }
2524
        -re ".* 827      1234E220" { set x [expr $x+1]; exp_continue; }
2525
        -re ".* 827      9ABC" { set x [expr $x+1]; exp_continue; }
2526
        -re ".* 828 1ae4 01076F3C" { set x [expr $x+1]; exp_continue; }
2527
        -re ".* 828      1234F220" { set x [expr $x+1]; exp_continue; }
2528
        -re ".* 828      9ABC" { set x [expr $x+1]; exp_continue; }
2529
        -re ".* 829 1aee 01076F3C" { set x [expr $x+1]; exp_continue; }
2530
        -re ".* 829      1234DA20" { set x [expr $x+1]; exp_continue; }
2531
        -re ".* 829      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2532
        -re ".* 830 1afa 01076F3C" { set x [expr $x+1]; exp_continue; }
2533
        -re ".* 830      1234EA20" { set x [expr $x+1]; exp_continue; }
2534
        -re ".* 830      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2535
        -re ".* 831 1b06 01076F3C" { set x [expr $x+1]; exp_continue; }
2536
        -re ".* 831      1234FA20" { set x [expr $x+1]; exp_continue; }
2537
        -re ".* 831      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2538
        -re ".* 832 1b12 01076F3C" { set x [expr $x+1]; exp_continue; }
2539
        -re ".* 832      12344020" { set x [expr $x+1]; exp_continue; }
2540
        -re ".* 832      9ABC" { set x [expr $x+1]; exp_continue; }
2541
        -re ".* 833 1b1c 01076F3C" { set x [expr $x+1]; exp_continue; }
2542
        -re ".* 833      12344820" { set x [expr $x+1]; exp_continue; }
2543
        -re ".* 833      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2544
        -re ".* 834              " {
2545
            if [expr $x == 42] then {
2546
                pass "$testname: cmp.l @(0x1234:16,er3.l), ..."
2547
            } else {
2548
                fail "$testname: cmp.l @(0x1234:16,er3.l), ... ($x)"
2549
            }
2550
        }
2551
        default { fail "$testname: cmp.l @(0x1234:16,er3.l), ... ($x)" }
2552
    }
2553
 
2554
    set x 0
2555
    expect {
2556
        -re ".* 835 1b28 78B56B2C" { set x [expr $x+1]; exp_continue; }
2557
        -re ".* 835      12345678" { set x [expr $x+1]; exp_continue; }
2558
        -re ".* 835      0120" { set x [expr $x+1]; exp_continue; }
2559
        -re ".* 836 1b32 78B56B2C" { set x [expr $x+1]; exp_continue; }
2560
        -re ".* 836      12345678" { set x [expr $x+1]; exp_continue; }
2561
        -re ".* 836      3120" { set x [expr $x+1]; exp_continue; }
2562
        -re ".* 837 1b3c 78B56B2C" { set x [expr $x+1]; exp_continue; }
2563
        -re ".* 837      12345678" { set x [expr $x+1]; exp_continue; }
2564
        -re ".* 837      B120" { set x [expr $x+1]; exp_continue; }
2565
        -re ".* 838 1b46 78B56B2C" { set x [expr $x+1]; exp_continue; }
2566
        -re ".* 838      12345678" { set x [expr $x+1]; exp_continue; }
2567
        -re ".* 838      8120" { set x [expr $x+1]; exp_continue; }
2568
        -re ".* 839 1b50 78B56B2C" { set x [expr $x+1]; exp_continue; }
2569
        -re ".* 839      12345678" { set x [expr $x+1]; exp_continue; }
2570
        -re ".* 839      A120" { set x [expr $x+1]; exp_continue; }
2571
        -re ".* 840 1b5a 78B56B2C" { set x [expr $x+1]; exp_continue; }
2572
        -re ".* 840      12345678" { set x [expr $x+1]; exp_continue; }
2573
        -re ".* 840      9120" { set x [expr $x+1]; exp_continue; }
2574
        -re ".* 841 1b64 78B56B2C" { set x [expr $x+1]; exp_continue; }
2575
        -re ".* 841      12345678" { set x [expr $x+1]; exp_continue; }
2576
        -re ".* 841      C1209ABC" { set x [expr $x+1]; exp_continue; }
2577
        -re ".* 842 1b70 78B56B2C" { set x [expr $x+1]; exp_continue; }
2578
        -re ".* 842      12345678" { set x [expr $x+1]; exp_continue; }
2579
        -re ".* 842      C9209ABC" { set x [expr $x+1]; exp_continue; }
2580
        -re ".* 842      DEF0" { set x [expr $x+1]; exp_continue; }
2581
        -re ".* 843 1b7e 78B56B2C" { set x [expr $x+1]; exp_continue; }
2582
        -re ".* 843      12345678" { set x [expr $x+1]; exp_continue; }
2583
        -re ".* 843      D2209ABC" { set x [expr $x+1]; exp_continue; }
2584
        -re ".* 844 1b8a 78B56B2C" { set x [expr $x+1]; exp_continue; }
2585
        -re ".* 844      12345678" { set x [expr $x+1]; exp_continue; }
2586
        -re ".* 844      E2209ABC" { set x [expr $x+1]; exp_continue; }
2587
        -re ".* 845 1b96 78B56B2C" { set x [expr $x+1]; exp_continue; }
2588
        -re ".* 845      12345678" { set x [expr $x+1]; exp_continue; }
2589
        -re ".* 845      F2209ABC" { set x [expr $x+1]; exp_continue; }
2590
        -re ".* 846 1ba2 78B56B2C" { set x [expr $x+1]; exp_continue; }
2591
        -re ".* 846      12345678" { set x [expr $x+1]; exp_continue; }
2592
        -re ".* 846      DA209ABC" { set x [expr $x+1]; exp_continue; }
2593
        -re ".* 846      DEF0" { set x [expr $x+1]; exp_continue; }
2594
        -re ".* 847 1bb0 78B56B2C" { set x [expr $x+1]; exp_continue; }
2595
        -re ".* 847      12345678" { set x [expr $x+1]; exp_continue; }
2596
        -re ".* 847      EA209ABC" { set x [expr $x+1]; exp_continue; }
2597
        -re ".* 847      DEF0" { set x [expr $x+1]; exp_continue; }
2598
        -re ".* 848 1bbe 78B56B2C" { set x [expr $x+1]; exp_continue; }
2599
        -re ".* 848      12345678" { set x [expr $x+1]; exp_continue; }
2600
        -re ".* 848      FA209ABC" { set x [expr $x+1]; exp_continue; }
2601
        -re ".* 848      DEF0" { set x [expr $x+1]; exp_continue; }
2602
        -re ".* 849 1bcc 78B56B2C" { set x [expr $x+1]; exp_continue; }
2603
        -re ".* 849      12345678" { set x [expr $x+1]; exp_continue; }
2604
        -re ".* 849      40209ABC" { set x [expr $x+1]; exp_continue; }
2605
        -re ".* 850 1bd8 78B56B2C" { set x [expr $x+1]; exp_continue; }
2606
        -re ".* 850      12345678" { set x [expr $x+1]; exp_continue; }
2607
        -re ".* 850      48209ABC" { set x [expr $x+1]; exp_continue; }
2608
        -re ".* 850      DEF0" { set x [expr $x+1]; exp_continue; }
2609
        -re ".* 851              " {
2610
            if [expr $x == 53] then {
2611
                pass "$testname: cmp.l @(0x12345678:32,r3l.b), ..."
2612
            } else {
2613
                fail "$testname: cmp.l @(0x12345678:32,r3l.b), ... ($x)"
2614
            }
2615
        }
2616
        default { fail "$testname: cmp.l @(0x12345678:32,r3l.b), ... ($x)" }
2617
    }
2618
 
2619
    set x 0
2620
    expect {
2621
        -re ".* 852 1be6 78B66B2C" { set x [expr $x+1]; exp_continue; }
2622
        -re ".* 852      12345678" { set x [expr $x+1]; exp_continue; }
2623
        -re ".* 852      0120" { set x [expr $x+1]; exp_continue; }
2624
        -re ".* 853 1bf0 78B66B2C" { set x [expr $x+1]; exp_continue; }
2625
        -re ".* 853      12345678" { set x [expr $x+1]; exp_continue; }
2626
        -re ".* 853      3120" { set x [expr $x+1]; exp_continue; }
2627
        -re ".* 854 1bfa 78B66B2C" { set x [expr $x+1]; exp_continue; }
2628
        -re ".* 854      12345678" { set x [expr $x+1]; exp_continue; }
2629
        -re ".* 854      B120" { set x [expr $x+1]; exp_continue; }
2630
        -re ".* 855 1c04 78B66B2C" { set x [expr $x+1]; exp_continue; }
2631
        -re ".* 855      12345678" { set x [expr $x+1]; exp_continue; }
2632
        -re ".* 855      8120" { set x [expr $x+1]; exp_continue; }
2633
        -re ".* 856 1c0e 78B66B2C" { set x [expr $x+1]; exp_continue; }
2634
        -re ".* 856      12345678" { set x [expr $x+1]; exp_continue; }
2635
        -re ".* 856      A120" { set x [expr $x+1]; exp_continue; }
2636
        -re ".* 857 1c18 78B66B2C" { set x [expr $x+1]; exp_continue; }
2637
        -re ".* 857      12345678" { set x [expr $x+1]; exp_continue; }
2638
        -re ".* 857      9120" { set x [expr $x+1]; exp_continue; }
2639
        -re ".* 858 1c22 78B66B2C" { set x [expr $x+1]; exp_continue; }
2640
        -re ".* 858      12345678" { set x [expr $x+1]; exp_continue; }
2641
        -re ".* 858      C1209ABC" { set x [expr $x+1]; exp_continue; }
2642
        -re ".* 859 1c2e 78B66B2C" { set x [expr $x+1]; exp_continue; }
2643
        -re ".* 859      12345678" { set x [expr $x+1]; exp_continue; }
2644
        -re ".* 859      C9209ABC" { set x [expr $x+1]; exp_continue; }
2645
        -re ".* 859      DEF0" { set x [expr $x+1]; exp_continue; }
2646
        -re ".* 860 1c3c 78B66B2C" { set x [expr $x+1]; exp_continue; }
2647
        -re ".* 860      12345678" { set x [expr $x+1]; exp_continue; }
2648
        -re ".* 860      D2209ABC" { set x [expr $x+1]; exp_continue; }
2649
        -re ".* 861 1c48 78B66B2C" { set x [expr $x+1]; exp_continue; }
2650
        -re ".* 861      12345678" { set x [expr $x+1]; exp_continue; }
2651
        -re ".* 861      E2209ABC" { set x [expr $x+1]; exp_continue; }
2652
        -re ".* 862 1c54 78B66B2C" { set x [expr $x+1]; exp_continue; }
2653
        -re ".* 862      12345678" { set x [expr $x+1]; exp_continue; }
2654
        -re ".* 862      F2209ABC" { set x [expr $x+1]; exp_continue; }
2655
        -re ".* 863 1c60 78B66B2C" { set x [expr $x+1]; exp_continue; }
2656
        -re ".* 863      12345678" { set x [expr $x+1]; exp_continue; }
2657
        -re ".* 863      DA209ABC" { set x [expr $x+1]; exp_continue; }
2658
        -re ".* 863      DEF0" { set x [expr $x+1]; exp_continue; }
2659
        -re ".* 864 1c6e 78B66B2C" { set x [expr $x+1]; exp_continue; }
2660
        -re ".* 864      12345678" { set x [expr $x+1]; exp_continue; }
2661
        -re ".* 864      EA209ABC" { set x [expr $x+1]; exp_continue; }
2662
        -re ".* 864      DEF0" { set x [expr $x+1]; exp_continue; }
2663
        -re ".* 865 1c7c 78B66B2C" { set x [expr $x+1]; exp_continue; }
2664
        -re ".* 865      12345678" { set x [expr $x+1]; exp_continue; }
2665
        -re ".* 865      FA209ABC" { set x [expr $x+1]; exp_continue; }
2666
        -re ".* 865      DEF0" { set x [expr $x+1]; exp_continue; }
2667
        -re ".* 866 1c8a 78B66B2C" { set x [expr $x+1]; exp_continue; }
2668
        -re ".* 866      12345678" { set x [expr $x+1]; exp_continue; }
2669
        -re ".* 866      40209ABC" { set x [expr $x+1]; exp_continue; }
2670
        -re ".* 867 1c96 78B66B2C" { set x [expr $x+1]; exp_continue; }
2671
        -re ".* 867      12345678" { set x [expr $x+1]; exp_continue; }
2672
        -re ".* 867      48209ABC" { set x [expr $x+1]; exp_continue; }
2673
        -re ".* 867      DEF0" { set x [expr $x+1]; exp_continue; }
2674
        -re ".* 868              " {
2675
            if [expr $x == 53] then {
2676
                pass "$testname: cmp.l @(0x12345678:32,r3.w), ..."
2677
            } else {
2678
                fail "$testname: cmp.l @(0x12345678:32,r3.w), ... ($x)"
2679
            }
2680
        }
2681
        default { fail "$testname: cmp.l @(0x12345678:32,r3.w), ... ($x)" }
2682
    }
2683
 
2684
    set x 0
2685
    expect {
2686
        -re ".* 869 1ca4 78B76B2C" { set x [expr $x+1]; exp_continue; }
2687
        -re ".* 869      12345678" { set x [expr $x+1]; exp_continue; }
2688
        -re ".* 869      0120" { set x [expr $x+1]; exp_continue; }
2689
        -re ".* 870 1cae 78B76B2C" { set x [expr $x+1]; exp_continue; }
2690
        -re ".* 870      12345678" { set x [expr $x+1]; exp_continue; }
2691
        -re ".* 870      3120" { set x [expr $x+1]; exp_continue; }
2692
        -re ".* 871 1cb8 78B76B2C" { set x [expr $x+1]; exp_continue; }
2693
        -re ".* 871      12345678" { set x [expr $x+1]; exp_continue; }
2694
        -re ".* 871      B120" { set x [expr $x+1]; exp_continue; }
2695
        -re ".* 872 1cc2 78B76B2C" { set x [expr $x+1]; exp_continue; }
2696
        -re ".* 872      12345678" { set x [expr $x+1]; exp_continue; }
2697
        -re ".* 872      8120" { set x [expr $x+1]; exp_continue; }
2698
        -re ".* 873 1ccc 78B76B2C" { set x [expr $x+1]; exp_continue; }
2699
        -re ".* 873      12345678" { set x [expr $x+1]; exp_continue; }
2700
        -re ".* 873      A120" { set x [expr $x+1]; exp_continue; }
2701
        -re ".* 874 1cd6 78B76B2C" { set x [expr $x+1]; exp_continue; }
2702
        -re ".* 874      12345678" { set x [expr $x+1]; exp_continue; }
2703
        -re ".* 874      9120" { set x [expr $x+1]; exp_continue; }
2704
        -re ".* 875 1ce0 78B76B2C" { set x [expr $x+1]; exp_continue; }
2705
        -re ".* 875      12345678" { set x [expr $x+1]; exp_continue; }
2706
        -re ".* 875      C1209ABC" { set x [expr $x+1]; exp_continue; }
2707
        -re ".* 876 1cec 78B76B2C" { set x [expr $x+1]; exp_continue; }
2708
        -re ".* 876      12345678" { set x [expr $x+1]; exp_continue; }
2709
        -re ".* 876      C9209ABC" { set x [expr $x+1]; exp_continue; }
2710
        -re ".* 876      DEF0" { set x [expr $x+1]; exp_continue; }
2711
        -re ".* 877 1cfa 78B76B2C" { set x [expr $x+1]; exp_continue; }
2712
        -re ".* 877      12345678" { set x [expr $x+1]; exp_continue; }
2713
        -re ".* 877      D2209ABC" { set x [expr $x+1]; exp_continue; }
2714
        -re ".* 878 1d06 78B76B2C" { set x [expr $x+1]; exp_continue; }
2715
        -re ".* 878      12345678" { set x [expr $x+1]; exp_continue; }
2716
        -re ".* 878      E2209ABC" { set x [expr $x+1]; exp_continue; }
2717
        -re ".* 879 1d12 78B76B2C" { set x [expr $x+1]; exp_continue; }
2718
        -re ".* 879      12345678" { set x [expr $x+1]; exp_continue; }
2719
        -re ".* 879      F2209ABC" { set x [expr $x+1]; exp_continue; }
2720
        -re ".* 880 1d1e 78B76B2C" { set x [expr $x+1]; exp_continue; }
2721
        -re ".* 880      12345678" { set x [expr $x+1]; exp_continue; }
2722
        -re ".* 880      DA209ABC" { set x [expr $x+1]; exp_continue; }
2723
        -re ".* 880      DEF0" { set x [expr $x+1]; exp_continue; }
2724
        -re ".* 881 1d2c 78B76B2C" { set x [expr $x+1]; exp_continue; }
2725
        -re ".* 881      12345678" { set x [expr $x+1]; exp_continue; }
2726
        -re ".* 881      EA209ABC" { set x [expr $x+1]; exp_continue; }
2727
        -re ".* 881      DEF0" { set x [expr $x+1]; exp_continue; }
2728
        -re ".* 882 1d3a 78B76B2C" { set x [expr $x+1]; exp_continue; }
2729
        -re ".* 882      12345678" { set x [expr $x+1]; exp_continue; }
2730
        -re ".* 882      FA209ABC" { set x [expr $x+1]; exp_continue; }
2731
        -re ".* 882      DEF0" { set x [expr $x+1]; exp_continue; }
2732
        -re ".* 883 1d48 78B76B2C" { set x [expr $x+1]; exp_continue; }
2733
        -re ".* 883      12345678" { set x [expr $x+1]; exp_continue; }
2734
        -re ".* 883      40209ABC" { set x [expr $x+1]; exp_continue; }
2735
        -re ".* 884 1d54 78B76B2C" { set x [expr $x+1]; exp_continue; }
2736
        -re ".* 884      12345678" { set x [expr $x+1]; exp_continue; }
2737
        -re ".* 884      48209ABC" { set x [expr $x+1]; exp_continue; }
2738
        -re ".* 884      DEF0" { set x [expr $x+1]; exp_continue; }
2739
        -re ".* 885              " {
2740
            if [expr $x == 53] then {
2741
                pass "$testname: cmp.l @(0x12345678:32,er3.l), ..."
2742
            } else {
2743
                fail "$testname: cmp.l @(0x12345678:32,er3.l), ... ($x)"
2744
            }
2745
        }
2746
        default { fail "$testname: cmp.l @(0x12345678:32,er3.l), ... ($x)" }
2747
    }
2748
 
2749
    set x 0
2750
    expect {
2751
        -re ".* 886 1d62 01046B0C" { set x [expr $x+1]; exp_continue; }
2752
        -re ".* 886      12340120" { set x [expr $x+1]; exp_continue; }
2753
        -re ".* 887 1d6a 01046B0C" { set x [expr $x+1]; exp_continue; }
2754
        -re ".* 887      12343120" { set x [expr $x+1]; exp_continue; }
2755
        -re ".* 888 1d72 01046B0C" { set x [expr $x+1]; exp_continue; }
2756
        -re ".* 888      1234B120" { set x [expr $x+1]; exp_continue; }
2757
        -re ".* 889 1d7a 01046B0C" { set x [expr $x+1]; exp_continue; }
2758
        -re ".* 889      12348120" { set x [expr $x+1]; exp_continue; }
2759
        -re ".* 890 1d82 01046B0C" { set x [expr $x+1]; exp_continue; }
2760
        -re ".* 890      1234A120" { set x [expr $x+1]; exp_continue; }
2761
        -re ".* 891 1d8a 01046B0C" { set x [expr $x+1]; exp_continue; }
2762
        -re ".* 891      12349120" { set x [expr $x+1]; exp_continue; }
2763
        -re ".* 892 1d92 01046B0C" { set x [expr $x+1]; exp_continue; }
2764
        -re ".* 892      1234C120" { set x [expr $x+1]; exp_continue; }
2765
        -re ".* 892      9ABC" { set x [expr $x+1]; exp_continue; }
2766
        -re ".* 893 1d9c 01046B0C" { set x [expr $x+1]; exp_continue; }
2767
        -re ".* 893      1234C920" { set x [expr $x+1]; exp_continue; }
2768
        -re ".* 893      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2769
        -re ".* 894 1da8 01046B0C" { set x [expr $x+1]; exp_continue; }
2770
        -re ".* 894      1234D220" { set x [expr $x+1]; exp_continue; }
2771
        -re ".* 894      9ABC" { set x [expr $x+1]; exp_continue; }
2772
        -re ".* 895 1db2 01046B0C" { set x [expr $x+1]; exp_continue; }
2773
        -re ".* 895      1234E220" { set x [expr $x+1]; exp_continue; }
2774
        -re ".* 895      9ABC" { set x [expr $x+1]; exp_continue; }
2775
        -re ".* 896 1dbc 01046B0C" { set x [expr $x+1]; exp_continue; }
2776
        -re ".* 896      1234F220" { set x [expr $x+1]; exp_continue; }
2777
        -re ".* 896      9ABC" { set x [expr $x+1]; exp_continue; }
2778
        -re ".* 897 1dc6 01046B0C" { set x [expr $x+1]; exp_continue; }
2779
        -re ".* 897      1234DA20" { set x [expr $x+1]; exp_continue; }
2780
        -re ".* 897      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2781
        -re ".* 898 1dd2 01046B0C" { set x [expr $x+1]; exp_continue; }
2782
        -re ".* 898      1234EA20" { set x [expr $x+1]; exp_continue; }
2783
        -re ".* 898      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2784
        -re ".* 899 1dde 01046B0C" { set x [expr $x+1]; exp_continue; }
2785
        -re ".* 899      1234FA20" { set x [expr $x+1]; exp_continue; }
2786
        -re ".* 899      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2787
        -re ".* 900 1dea 01046B0C" { set x [expr $x+1]; exp_continue; }
2788
        -re ".* 900      12344020" { set x [expr $x+1]; exp_continue; }
2789
        -re ".* 900      9ABC" { set x [expr $x+1]; exp_continue; }
2790
        -re ".* 901 1df4 01046B0C" { set x [expr $x+1]; exp_continue; }
2791
        -re ".* 901      12344820" { set x [expr $x+1]; exp_continue; }
2792
        -re ".* 901      9ABCDEF0" { set x [expr $x+1]; exp_continue; }
2793
        -re ".* 902              " {
2794
            if [expr $x == 42] then {
2795
                pass "$testname: cmp.l @0x1234:16, ..."
2796
            } else {
2797
                fail "$testname: cmp.l @0x1234:16, ... ($x)"
2798
            }
2799
        }
2800
        default { fail "$testname: cmp.l @0x1234:16, ... ($x)" }
2801
    }
2802
    # FIXME return early, expect bombs out on the next group.
2803
    return
2804
    set x 0
2805
    expect {
2806
        -re ".* 903 1e00 01046B2C" { set x [expr $x+1]; exp_continue; }
2807
        -re ".* 903      12345678" { set x [expr $x+1]; exp_continue; }
2808
        -re ".* 903      0120" { set x [expr $x+1]; exp_continue; }
2809
        -re ".* 904 1e0a 01046B2C" { set x [expr $x+1]; exp_continue; }
2810
        -re ".* 904      12345678" { set x [expr $x+1]; exp_continue; }
2811
        -re ".* 904      3120" { set x [expr $x+1]; exp_continue; }
2812
        -re ".* 905 1e14 01046B2C" { set x [expr $x+1]; exp_continue; }
2813
        -re ".* 905      12345678" { set x [expr $x+1]; exp_continue; }
2814
        -re ".* 905      B120" { set x [expr $x+1]; exp_continue; }
2815
        -re ".* 906 1e1e 01046B2C" { set x [expr $x+1]; exp_continue; }
2816
        -re ".* 906      12345678" { set x [expr $x+1]; exp_continue; }
2817
        -re ".* 906      8120" { set x [expr $x+1]; exp_continue; }
2818
        -re ".* 907 1e28 01046B2C" { set x [expr $x+1]; exp_continue; }
2819
        -re ".* 907      12345678" { set x [expr $x+1]; exp_continue; }
2820
        -re ".* 907      A120" { set x [expr $x+1]; exp_continue; }
2821
        -re ".* 908 1e32 01046B2C" { set x [expr $x+1]; exp_continue; }
2822
        -re ".* 908      12345678" { set x [expr $x+1]; exp_continue; }
2823
        -re ".* 908      9120" { set x [expr $x+1]; exp_continue; }
2824
        -re ".* 909 1e3c 01046B2C" { set x [expr $x+1]; exp_continue; }
2825
        -re ".* 909      12345678" { set x [expr $x+1]; exp_continue; }
2826
        -re ".* 909      C1209ABC" { set x [expr $x+1]; exp_continue; }
2827
        -re ".* 910 1e48 01046B2C" { set x [expr $x+1]; exp_continue; }
2828
        -re ".* 910      12345678" { set x [expr $x+1]; exp_continue; }
2829
        -re ".* 910      C9209ABC" { set x [expr $x+1]; exp_continue; }
2830
        -re ".* 910      DEF0" { set x [expr $x+1]; exp_continue; }
2831
        -re ".* 911 1e56 01046B2C" { set x [expr $x+1]; exp_continue; }
2832
        -re ".* 911      12345678" { set x [expr $x+1]; exp_continue; }
2833
        -re ".* 911      D2209ABC" { set x [expr $x+1]; exp_continue; }
2834
        -re ".* 912 1e62 01046B2C" { set x [expr $x+1]; exp_continue; }
2835
        -re ".* 912      12345678" { set x [expr $x+1]; exp_continue; }
2836
        -re ".* 912      E2209ABC" { set x [expr $x+1]; exp_continue; }
2837
        -re ".* 913 1e6e 01046B2C" { set x [expr $x+1]; exp_continue; }
2838
        -re ".* 913      12345678" { set x [expr $x+1]; exp_continue; }
2839
        -re ".* 913      F2209ABC" { set x [expr $x+1]; exp_continue; }
2840
        -re ".* 914 1e7a 01046B2C" { set x [expr $x+1]; exp_continue; }
2841
        -re ".* 914      12345678" { set x [expr $x+1]; exp_continue; }
2842
        -re ".* 914      DA209ABC" { set x [expr $x+1]; exp_continue; }
2843
        -re ".* 914      DEF0" { set x [expr $x+1]; exp_continue; }
2844
        -re ".* 915 1e88 01046B2C" { set x [expr $x+1]; exp_continue; }
2845
        -re ".* 915      12345678" { set x [expr $x+1]; exp_continue; }
2846
        -re ".* 915      EA209ABC" { set x [expr $x+1]; exp_continue; }
2847
        -re ".* 915      DEF0" { set x [expr $x+1]; exp_continue; }
2848
        -re ".* 916 1e96 01046B2C" { set x [expr $x+1]; exp_continue; }
2849
        -re ".* 916      12345678" { set x [expr $x+1]; exp_continue; }
2850
        -re ".* 916      FA209ABC" { set x [expr $x+1]; exp_continue; }
2851
        -re ".* 916      DEF0" { set x [expr $x+1]; exp_continue; }
2852
        -re ".* 917 1ea4 01046B2C" { set x [expr $x+1]; exp_continue; }
2853
        -re ".* 917      12345678" { set x [expr $x+1]; exp_continue; }
2854
        -re ".* 917      40209ABC" { set x [expr $x+1]; exp_continue; }
2855
        -re ".* 918 1eb0 01046B2C" { set x [expr $x+1]; exp_continue; }
2856
        -re ".* 918      12345678" { set x [expr $x+1]; exp_continue; }
2857
        -re ".* 918      48209ABC" { set x [expr $x+1]; exp_continue; }
2858
        -re ".* 918      DEF0" { set x [expr $x+1]; exp_continue; }
2859
        -re ".* 919              " {
2860
            if [expr $x == 53] then {
2861
                pass "$testname: cmp.l @0x12345678:32, ..."
2862
            } else {
2863
                fail "$testname: cmp.l @0x12345678:32, ... ($x)"
2864
            }
2865
        }
2866
        default { fail "$testname: cmp.l @0x12345678:32, ... ($x)" }
2867
    }
2868
 
2869
    # This was intended to do any cleanup necessary.
2870
    # It kinda looks like it isn't needed, but just
2871
    # in case, please keep it in for now.
2872
 
2873
    gas_finish
2874
 
2875
}
2876
 
2877
if [istarget h8300*-*-elf] then {
2878
    # Test advanced h8300sx instructions.
2879
    do_t05_cmp_test
2880
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.