summaryrefslogblamecommitdiff
path: root/src/bin/embryo/embryo_cc_sc7.scp
blob: 38f784d3cc013fbfcab770bf3ed179a98eca20fc (plain) (tree)
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472























                                                                               
                                                                    
                                                               
 
                                                                   


                                                                    
































                                                                                 



                                                                  




                                                                                 
           














































































































































































































































































































































































































































































                                                                                 
                  










































































                                                                                     
                  










































































                                                                              
                  

















































































































































                                                                     










                                                        













                                                                                   





























                                                                                                                                                     




































































































































































































































































































































































































































































































































































































                                                                                
  
/*  Small compiler - Peephole optimizer "sequences" strings (plain
 *                   and compressed formats)
 *
 *  Copyright (c) ITB CompuPhase, 2000-2003
 *
 *  This software is provided "as-is", without any express or implied warranty.
 *  In no event will the authors be held liable for any damages arising from
 *  the use of this software.
 *
 *  Permission is granted to anyone to use this software for any purpose,
 *  including commercial applications, and to alter it and redistribute it
 *  freely, subject to the following restrictions:
 *
 *  1.  The origin of this software must not be misrepresented; you must not
 *      claim that you wrote the original software. If you use this software in
 *      a product, an acknowledgment in the product documentation would be
 *      appreciated but is not required.
 *  2.  Altered source versions must be plainly marked as such, and must not be
 *      misrepresented as being the original software.
 *  3.  This notice may not be removed or altered from any source distribution.
 *
 *  Version: $Id$
 */

int         strexpand(char *dest, unsigned char *source, int maxlen,
			      unsigned char pairtable[128][2]);

#define SCPACK_TERMINATOR ,	/* end each section with a comma */

#define SCPACK_TABLE sequences_table
/*-*SCPACK start of pair table, do not change or remove this line */
unsigned char       sequences_table[][2] = {
   {32, 37}, {114, 105}, {112, 129}, {46, 130}, {49, 33}, {128, 132}, {97, 100},
      {46, 97}, {135, 108}, {136, 116}, {111, 134}, {108, 138}, {50, 33}, {115,
									   104},
      {128, 140}, {137, 33},
   {46, 115}, {117, 141}, {112, 145}, {131, 133}, {139, 144}, {112, 143}, {131,
									   142},
      {115, 116}, {111, 149}, {112, 152}, {131, 33}, {134, 100}, {110, 151},
      {111, 156}, {99, 157}, {59, 36},
   {146, 154}, {148, 150}, {112, 33}, {120, 162}, {101, 163}, {159, 164}, {137,
									   133},
      {46, 99}, {122, 101}, {110, 100}, {155, 114}, {101, 113}, {168, 114},
      {147, 160}, {51, 33}, {128, 174},
   {103, 33}, {133, 165}, {104, 176}, {99, 178}, {120, 179}, {171, 33}, {106,
									 172},
      {173, 161}, {155, 33}, {108, 167}, {117, 169}, {115, 175}, {186, 187},
      {153, 184}, {141, 185}, {111, 188},
   {98, 191}, {105, 100}, {115, 103}, {115, 108}, {193, 120}, {182, 133}, {114,
									   33},
      {166, 161}, {190, 131}, {137, 142}, {169, 33}, {97, 202}, {139, 147},
      {172, 111}, {158, 147}, {139, 150},
   {105, 33}, {101, 115}, {209, 115}, {114, 116}, {148, 147}, {171, 133}, {189,
									   139},
      {32, 140}, {146, 167}, {196, 170}, {158, 183}, {170, 183}, {199, 192},
      {108, 196}, {97, 198}, {194, 211},
   {46, 208}, {195, 210}, {200, 215}, {112, 222}, {159, 227}, {46, 98}, {118,
									 101},
      {111, 230}, {109, 231}, {146, 143}, {99, 144}, {158, 150}, {97, 149},
      {203, 153}, {52, 33}, {225, 33},
   {158, 166}, {194, 181}, {195, 181}, {201, 180}, {223, 198}, {153, 203}, {214,
									    224},
      {100, 101}, {128, 238}, {119, 236}, {249, 237}, {105, 110}, {115, 250},
      {232, 143}, {205, 154}
};
/*-*SCPACK end of pair table, do not change or remove this line */

#define seqsize(o,p)    (opcodes(o)+opargs(p))
typedef struct
{
   char               *find;
   char               *replace;
   int                 savesize;	/* number of bytes saved (in bytecode) */
} SEQUENCE;
static SEQUENCE     sequences_cmp[] = {
   /* A very common sequence in four varieties
    *    load.s.pri n1           load.s.pri n2
    *    push.pri                load.s.alt n1
    *    load.s.pri n2           -
    *    pop.alt                 -
    *    --------------------------------------
    *    load.pri n1             load.s.pri n2
    *    push.pri                load.alt n1
    *    load.s.pri n2           -
    *    pop.alt                 -
    *    --------------------------------------
    *    load.s.pri n1           load.pri n2
    *    push.pri                load.s.alt n1
    *    load.pri n2             -
    *    pop.alt                 -
    *    --------------------------------------
    *    load.pri n1             load.pri n2
    *    push.pri                load.alt n1
    *    load.pri n2             -
    *    pop.alt                 -
    */
   {
#ifdef SCPACK
    "load.s.pri %1!push.pri!load.s.pri %2!pop.alt!",
    "load.s.pri %2!load.s.alt %1!",
#else
    "\224\267\231",
    "\241\224\246",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.pri %1!push.pri!load.s.pri %2!pop.alt!",
    "load.s.pri %2!load.alt %1!",
#else
    "\213\267\231",
    "\241\213\246",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.s.pri %1!push.pri!load.pri %2!pop.alt!",
    "load.pri %2!load.s.alt %1!",
#else
    "\224\255\317\231",
    "\317\224\246",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.pri %1!push.pri!load.pri %2!pop.alt!",
    "load.pri %2!load.alt %1!",
#else
    "\213\255\317\231",
    "\317\213\246",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   /* (#1#) The above also occurs with "addr.pri" (array
    * indexing) as the first line; so that adds 2 cases.
    */
   {
#ifdef SCPACK
    "addr.pri %1!push.pri!load.s.pri %2!pop.alt!",
    "addr.alt %1!load.s.pri %2!",
#else
    "\333\231",
    "\252\307",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "addr.pri %1!push.pri!load.pri %2!pop.alt!",
    "addr.alt %1!load.pri %2!",
#else
    "\252\255\317\231",
    "\252\246\317",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   /* And the same sequence with const.pri as either the first
    * or the second load instruction: four more cases.
    */
   {
#ifdef SCPACK
    "const.pri %1!push.pri!load.s.pri %2!pop.alt!",
    "load.s.pri %2!const.alt %1!",
#else
    "\332\231",
    "\241\360",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "const.pri %1!push.pri!load.pri %2!pop.alt!",
    "load.pri %2!const.alt %1!",
#else
    "\236\255\317\231",
    "\317\360",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.s.pri %1!push.pri!const.pri %2!pop.alt!",
    "const.pri %2!load.s.alt %1!",
#else
    "\224\255\353\231",
    "\353\224\246",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.pri %1!push.pri!const.pri %2!pop.alt!",
    "const.pri %2!load.alt %1!",
#else
    "\213\255\353\231",
    "\353\213\246",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   /* The same as above, but now with "addr.pri" (array
    * indexing) on the first line and const.pri on
    * the second.
    */
   {
#ifdef SCPACK
    "addr.pri %1!push.pri!const.pri %2!pop.alt!",
    "addr.alt %1!const.pri %2!",
#else
    "\252\255\353\231",
    "\252\246\353",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   /* ??? add references */
   /* Chained relational operators can contain sequences like:
    *    move.pri                load.s.pri n1
    *    push.pri                -
    *    load.s.pri n1           -
    *    pop.alt                 -
    * The above also accurs for "load.pri" and for "const.pri",
    * so add another two cases.
    */
   {
#ifdef SCPACK
    "move.pri!push.pri!load.s.pri %1!pop.alt!",
    "load.s.pri %1!",
#else
    "\350\232\240\324\231",
    "\324",
#endif
    seqsize(4, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "move.pri!push.pri!load.pri %1!pop.alt!",
    "load.pri %1!",
#else
    "\350\232\240\314\231",
    "\314",
#endif
    seqsize(4, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "move.pri!push.pri!const.pri %1!pop.alt!",
    "const.pri %1!",
#else
    "\350\232\240\316\231",
    "\316",
#endif
    seqsize(4, 1) - seqsize(1, 1)},
   /* More optimizations for chained relational operators; the
    * continuation sequences can be simplified if they turn out
    * to be termination sequences:
    *    xchg                    sless       also for sless, sgeq and sleq
    *    sgrtr                   pop.alt
    *    swap.alt                and
    *    and                     ;$exp
    *    pop.alt                 -
    *    ;$exp                   -
    *    --------------------------------------
    *    xchg                    sless       also for sless, sgeq and sleq
    *    sgrtr                   pop.alt
    *    swap.alt                and
    *    and                     jzer n1
    *    pop.alt                 -
    *    jzer n1                 -
    *    --------------------------------------
    *    xchg                    jsgeq  n1   also for sless, sgeq and sleq
    *    sgrtr                   ;$exp       (occurs for non-chained comparisons)
    *    jzer n1                 -
    *    ;$exp                   -
    *    --------------------------------------
    *    xchg                    sless       also for sless, sgeq and sleq
    *    sgrtr                   ;$exp       (occurs for non-chained comparisons)
    *    ;$exp                   -
    */
   {
#ifdef SCPACK
    "xchg!sgrtr!swap.alt!and!pop.alt!;$exp!",
    "sless!pop.alt!and!;$exp!",
#else
    "\264\364\374\245",
    "\357\365\245",
#endif
    seqsize(5, 0) - seqsize(3, 0)},
   {
#ifdef SCPACK
    "xchg!sless!swap.alt!and!pop.alt!;$exp!",
    "sgrtr!pop.alt!and!;$exp!",
#else
    "\264\357\374\245",
    "\364\365\245",
#endif
    seqsize(5, 0) - seqsize(3, 0)},
   {
#ifdef SCPACK
    "xchg!sgeq!swap.alt!and!pop.alt!;$exp!",
    "sleq!pop.alt!and!;$exp!",
#else
    "\264\361\374\245",
    "\362\365\245",
#endif
    seqsize(5, 0) - seqsize(3, 0)},
   {
#ifdef SCPACK
    "xchg!sleq!swap.alt!and!pop.alt!;$exp!",
    "sgeq!pop.alt!and!;$exp!",
#else
    "\264\362\374\245",
    "\361\365\245",
#endif
    seqsize(5, 0) - seqsize(3, 0)},
   {
#ifdef SCPACK
    "xchg!sgrtr!swap.alt!and!pop.alt!jzer %1!",
    "sless!pop.alt!and!jzer %1!",
#else
    "\264\364\374\305",
    "\357\365\305",
#endif
    seqsize(5, 0) - seqsize(3, 0)},
   {
#ifdef SCPACK
    "xchg!sless!swap.alt!and!pop.alt!jzer %1!",
    "sgrtr!pop.alt!and!jzer %1!",
#else
    "\264\357\374\305",
    "\364\365\305",
#endif
    seqsize(5, 0) - seqsize(3, 0)},
   {
#ifdef SCPACK
    "xchg!sgeq!swap.alt!and!pop.alt!jzer %1!",
    "sleq!pop.alt!and!jzer %1!",
#else
    "\264\361\374\305",
    "\362\365\305",
#endif
    seqsize(5, 0) - seqsize(3, 0)},
   {
#ifdef SCPACK
    "xchg!sleq!swap.alt!and!pop.alt!jzer %1!",
    "sgeq!pop.alt!and!jzer %1!",
#else
    "\264\362\374\305",
    "\361\365\305",
#endif
    seqsize(5, 0) - seqsize(3, 0)},
   {
#ifdef SCPACK
    "xchg!sgrtr!jzer %1!;$exp!",
    "jsgeq %1!;$exp!",
#else
    "\264\364\266\261",
    "j\302\253\261",
#endif
    seqsize(3, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "xchg!sless!jzer %1!;$exp!",
    "jsleq %1!;$exp!",
#else
    "\264\357\266\261",
    "j\303\253\261",
#endif
    seqsize(3, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "xchg!sgeq!jzer %1!;$exp!",
    "jsgrtr %1!;$exp!",
#else
    "\264\361\266\261",
    "j\337r\261",
#endif
    seqsize(3, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "xchg!sleq!jzer %1!;$exp!",
    "jsless %1!;$exp!",
#else
    "\264\362\266\261",
    "j\341\261",
#endif
    seqsize(3, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "xchg!sgrtr!;$exp!",
    "sless!;$exp!",
#else
    "\264\364\245",
    "\357\245",
#endif
    seqsize(2, 0) - seqsize(1, 0)},
   {
#ifdef SCPACK
    "xchg!sless!;$exp!",
    "sgrtr!;$exp!",
#else
    "\264\357\245",
    "\364\245",
#endif
    seqsize(2, 0) - seqsize(1, 0)},
   {
#ifdef SCPACK
    "xchg!sgeq!;$exp!",
    "sleq!;$exp!",
#else
    "\264\361\245",
    "\362\245",
#endif
    seqsize(2, 0) - seqsize(1, 0)},
   {
#ifdef SCPACK
    "xchg!sleq!;$exp!",
    "sgeq!;$exp!",
#else
    "\264\362\245",
    "\361\245",
#endif
    seqsize(2, 0) - seqsize(1, 0)},
   /* The entry to chained operators is also opt to optimization
    *    load.s.pri n1           load.s.pri n2
    *    load.s.alt n2           load.s.alt n1
    *    xchg                    -
    *    --------------------------------------
    *    load.s.pri n1           load.pri n2
    *    load.alt n2             load.s.alt n1
    *    xchg                    -
    *    --------------------------------------
    *    load.s.pri n1           const.pri n2
    *    const.alt n2            load.s.alt n1
    *    xchg                    -
    *    --------------------------------------
    * and all permutations...
    */
   {
#ifdef SCPACK
    "load.s.pri %1!load.s.alt %2!xchg!",
    "load.s.pri %2!load.s.alt %1!",
#else
    "\324\224\363",
    "\241\224\246",
#endif
    seqsize(3, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.s.pri %1!load.alt %2!xchg!",
    "load.pri %2!load.s.alt %1!",
#else
    "\324\213\363",
    "\317\224\246",
#endif
    seqsize(3, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.s.pri %1!const.alt %2!xchg!",
    "const.pri %2!load.s.alt %1!",
#else
    "\324\236\363",
    "\353\224\246",
#endif
    seqsize(3, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.pri %1!load.s.alt %2!xchg!",
    "load.s.pri %2!load.alt %1!",
#else
    "\314\224\363",
    "\241\213\246",
#endif
    seqsize(3, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.pri %1!load.alt %2!xchg!",
    "load.pri %2!load.alt %1!",
#else
    "\314\213\363",
    "\317\213\246",
#endif
    seqsize(3, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.pri %1!const.alt %2!xchg!",
    "const.pri %2!load.alt %1!",
#else
    "\314\236\363",
    "\353\213\246",
#endif
    seqsize(3, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "const.pri %1!load.s.alt %2!xchg!",
    "load.s.pri %2!const.alt %1!",
#else
    "\316\224\363",
    "\241\360",
#endif
    seqsize(3, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "const.pri %1!load.alt %2!xchg!",
    "load.pri %2!const.alt %1!",
#else
    "\316\213\363",
    "\317\360",
#endif
    seqsize(3, 2) - seqsize(2, 2)},
   /* Array indexing can merit from special instructions.
    * Simple indexed array lookup can be optimized quite
    * a bit.
    *    addr.pri n1             addr.alt n1
    *    push.pri                load.s.pri n2
    *    load.s.pri n2           bounds n3
    *    bounds n3               lidx.b n4
    *    shl.c.pri n4            -
    *    pop.alt                 -
    *    add                     -
    *    load.i                  -
    *
    * And to prepare for storing a value in an array
    *    addr.pri n1             addr.alt n1
    *    push.pri                load.s.pri n2
    *    load.s.pri n2           bounds n3
    *    bounds n3               idxaddr.b n4
    *    shl.c.pri n4            -
    *    pop.alt                 -
    *    add                     -
    *
    * Notes (additional cases):
    * 1. instruction addr.pri can also be const.pri (for
    *    global arrays)
    * 2. the bounds instruction can be absent
    * 3. when "n4" (the shift value) is the 2 (with 32-bit cels), use the
    *    even more optimal instructions LIDX and IDDXADDR
    *
    * If the array index is more complex, one can only optimize
    * the last four instructions:
    *    shl.c.pri n1            pop.alt
    *    pop.alt                 lidx.b n1
    *    add                     -
    *    loadi                   -
    *    --------------------------------------
    *    shl.c.pri n1            pop.alt
    *    pop.alt                 idxaddr.b n1
    *    add                     -
    */
#if !defined BIT16
   /* loading from array, "cell" shifted */
   {
#ifdef SCPACK
    "addr.pri %1!push.pri!load.s.pri %2!bounds %3!shl.c.pri 2!pop.alt!add!load.i!",
    "addr.alt %1!load.s.pri %2!bounds %3!lidx!",
#else
    "\333\300\342\366",
    "\252\334\335!",
#endif
    seqsize(8, 4) - seqsize(4, 3)},
   {
#ifdef SCPACK
    "const.pri %1!push.pri!load.s.pri %2!bounds %3!shl.c.pri 2!pop.alt!add!load.i!",
    "const.alt %1!load.s.pri %2!bounds %3!lidx!",
#else
    "\332\300\342\366",
    "\236\334\335!",
#endif
    seqsize(8, 4) - seqsize(4, 3)},
   {
#ifdef SCPACK
    "addr.pri %1!push.pri!load.s.pri %2!shl.c.pri 2!pop.alt!add!load.i!",
    "addr.alt %1!load.s.pri %2!lidx!",
#else
    "\333\342\366",
    "\252\307\335!",
#endif
    seqsize(7, 3) - seqsize(3, 2)},
   {
#ifdef SCPACK
    "const.pri %1!push.pri!load.s.pri %2!shl.c.pri 2!pop.alt!add!load.i!",
    "const.alt %1!load.s.pri %2!lidx!",
#else
    "\332\342\366",
    "\236\307\335!",
#endif
    seqsize(7, 3) - seqsize(3, 2)},
#endif
   /* loading from array, not "cell" shifted */
   {
#ifdef SCPACK
    "addr.pri %1!push.pri!load.s.pri %2!bounds %3!shl.c.pri %4!pop.alt!add!load.i!",
    "addr.alt %1!load.s.pri %2!bounds %3!lidx.b %4!",
#else
    "\333\300\310\370\366",
    "\252\334\335\345\370",
#endif
    seqsize(8, 4) - seqsize(4, 4)},
   {
#ifdef SCPACK
    "const.pri %1!push.pri!load.s.pri %2!bounds %3!shl.c.pri %4!pop.alt!add!load.i!",
    "const.alt %1!load.s.pri %2!bounds %3!lidx.b %4!",
#else
    "\332\300\310\370\366",
    "\236\334\335\345\370",
#endif
    seqsize(8, 4) - seqsize(4, 4)},
   {
#ifdef SCPACK
    "addr.pri %1!push.pri!load.s.pri %2!shl.c.pri %3!pop.alt!add!load.i!",
    "addr.alt %1!load.s.pri %2!lidx.b %3!",
#else
    "\333\310\257\366",
    "\252\307\335\345\257",
#endif
    seqsize(7, 3) - seqsize(3, 3)},
   {
#ifdef SCPACK
    "const.pri %1!push.pri!load.s.pri %2!shl.c.pri %3!pop.alt!add!load.i!",
    "const.alt %1!load.s.pri %2!lidx.b %3!",
#else
    "\332\310\257\366",
    "\236\307\335\345\257",
#endif
    seqsize(7, 3) - seqsize(3, 3)},
#if !defined BIT16
   /* array index calculation for storing a value, "cell" aligned */
   {
#ifdef SCPACK
    "addr.pri %1!push.pri!load.s.pri %2!bounds %3!shl.c.pri 2!pop.alt!add!",
    "addr.alt %1!load.s.pri %2!bounds %3!idxaddr!",
#else
    "\333\300\342\275",
    "\252\334\331!",
#endif
    seqsize(7, 4) - seqsize(4, 3)},
   {
#ifdef SCPACK
    "const.pri %1!push.pri!load.s.pri %2!bounds %3!shl.c.pri 2!pop.alt!add!",
    "const.alt %1!load.s.pri %2!bounds %3!idxaddr!",
#else
    "\332\300\342\275",
    "\236\334\331!",
#endif
    seqsize(7, 4) - seqsize(4, 3)},
   {
#ifdef SCPACK
    "addr.pri %1!push.pri!load.s.pri %2!shl.c.pri 2!pop.alt!add!",
    "addr.alt %1!load.s.pri %2!idxaddr!",
#else
    "\333\342\275",
    "\252\307\331!",
#endif
    seqsize(6, 3) - seqsize(3, 2)},
   {
#ifdef SCPACK
    "const.pri %1!push.pri!load.s.pri %2!shl.c.pri 2!pop.alt!add!",
    "const.alt %1!load.s.pri %2!idxaddr!",
#else
    "\332\342\275",
    "\236\307\331!",
#endif
    seqsize(6, 3) - seqsize(3, 2)},
#endif
   /* array index calculation for storing a value, not "cell" packed */
   {
#ifdef SCPACK
    "addr.pri %1!push.pri!load.s.pri %2!bounds %3!shl.c.pri %4!pop.alt!add!",
    "addr.alt %1!load.s.pri %2!bounds %3!idxaddr.b %4!",
#else
    "\333\300\310\370\275",
    "\252\334\331\345\370",
#endif
    seqsize(7, 4) - seqsize(4, 4)},
   {
#ifdef SCPACK
    "const.pri %1!push.pri!load.s.pri %2!bounds %3!shl.c.pri %4!pop.alt!add!",
    "const.alt %1!load.s.pri %2!bounds %3!idxaddr.b %4!",
#else
    "\332\300\310\370\275",
    "\236\334\331\345\370",
#endif
    seqsize(7, 4) - seqsize(4, 4)},
   {
#ifdef SCPACK
    "addr.pri %1!push.pri!load.s.pri %2!shl.c.pri %3!pop.alt!add!",
    "addr.alt %1!load.s.pri %2!idxaddr.b %3!",
#else
    "\333\310\257\275",
    "\252\307\331\345\257",
#endif
    seqsize(6, 3) - seqsize(3, 3)},
   {
#ifdef SCPACK
    "const.pri %1!push.pri!load.s.pri %2!shl.c.pri %3!pop.alt!add!",
    "const.alt %1!load.s.pri %2!idxaddr.b %3!",
#else
    "\332\310\257\275",
    "\236\307\331\345\257",
#endif
    seqsize(6, 3) - seqsize(3, 3)},
#if !defined BIT16
   /* the shorter array indexing sequences, see above for comments */
   {
#ifdef SCPACK
    "shl.c.pri 2!pop.alt!add!loadi!",
    "pop.alt!lidx!",
#else
    "\342\326\320",
    "\231\335!",
#endif
    seqsize(4, 1) - seqsize(2, 0)},
   {
#ifdef SCPACK
    "shl.c.pri 2!pop.alt!add!",
    "pop.alt!idxaddr!",
#else
    "\342\275",
    "\231\331!",
#endif
    seqsize(3, 1) - seqsize(2, 0)},
#endif
   {
#ifdef SCPACK
    "shl.c.pri %1!pop.alt!add!loadi!",
    "pop.alt!lidx.b %1!",
#else
    "\276\223\326\320",
    "\231\335\345\205",
#endif
    seqsize(4, 1) - seqsize(2, 1)},
   {
#ifdef SCPACK
    "shl.c.pri %1!pop.alt!add!",
    "pop.alt!idxaddr.b %1!",
#else
    "\276\223\275",
    "\231\331\345\205",
#endif
    seqsize(3, 1) - seqsize(2, 1)},
   /* For packed arrays, there is another case (packed arrays
    * do not take advantage of the LIDX or IDXADDR instructions).
    *    addr.pri n1             addr.alt n1
    *    push.pri                load.s.pri n2
    *    load.s.pri n2           bounds n3
    *    bounds n3               -
    *    pop.alt                 -
    *
    * Notes (additional cases):
    * 1. instruction addr.pri can also be const.pri (for
    *    global arrays)
    * 2. the bounds instruction can be absent, but that
    *    case is already handled (see #1#)
    */
   {
#ifdef SCPACK
    "addr.pri %1!push.pri!load.s.pri %2!bounds %3!pop.alt!",
    "addr.alt %1!load.s.pri %2!bounds %3!",
#else
    "\333\300\231",
    "\252\334",
#endif
    seqsize(5, 3) - seqsize(3, 3)},
   {
#ifdef SCPACK
    "const.pri %1!push.pri!load.s.pri %2!bounds %3!pop.alt!",
    "const.alt %1!load.s.pri %2!bounds %3!",
#else
    "\332\300\231",
    "\236\334",
#endif
    seqsize(5, 3) - seqsize(3, 3)},
   /* During a calculation, the intermediate result must sometimes
    * be moved from PRI to ALT, like in:
    *    push.pri                move.alt
    *    load.s.pri n1           load.s.pri n1
    *    pop.alt                 -
    *
    * The above also accurs for "load.pri" and for "const.pri",
    * so add another two cases.
    */
   {
#ifdef SCPACK
    "push.pri!load.s.pri %1!pop.alt!",
    "move.alt!load.s.pri %1!",
#else
    "\240\324\231",
    "\375\324",
#endif
    seqsize(3, 1) - seqsize(2, 1)},
   {
#ifdef SCPACK
    "push.pri!load.pri %1!pop.alt!",
    "move.alt!load.pri %1!",
#else
    "\240\314\231",
    "\375\314",
#endif
    seqsize(3, 1) - seqsize(2, 1)},
   {
#ifdef SCPACK
    "push.pri!const.pri %1!pop.alt!",
    "move.alt!const.pri %1!",
#else
    "\240\316\231",
    "\375\316",
#endif
    seqsize(3, 1) - seqsize(2, 1)},
   {
#ifdef SCPACK
    "push.pri!zero.pri!pop.alt!",
    "move.alt!zero.pri!",
#else
    "\240\376\231",
    "\375\376",
#endif
    seqsize(3, 0) - seqsize(2, 0)},
   /* saving PRI and then loading from its address
    * occurs when indexing a multi-dimensional array
    */
   {
#ifdef SCPACK
    "push.pri!load.i!pop.alt!",
    "move.alt!load.i!",
#else
    "\240\213\340\231",
    "\375\213\340",
#endif
    seqsize(3, 0) - seqsize(2, 0)},
   /* An even simpler PUSH/POP optimization (occurs in
    * switch statements):
    *    push.pri                move.alt
    *    pop.alt                 -
    */
   {
#ifdef SCPACK
    "push.pri!pop.alt!",
    "move.alt!",
#else
    "\240\231",
    "\375",
#endif
    seqsize(2, 0) - seqsize(1, 0)},
   /* And what to think of this PUSH/POP sequence, which occurs
    * due to the support for user-defined assignment operator):
    *    push.alt                -
    *    pop.alt                 -
    */
//???
//{
//  #ifdef SCPACK
//    "push.alt!pop.alt!",
//    ";$",     /* SCPACK cannot handle empty strings */
//  #else
//    "\225\237",
//    "\353",
//  #endif
//  seqsize(2,0) - seqsize(0,0)
//},
   /* Functions with many parameters with the same default
    * value have sequences like:
    *    push.c n1               const.pri n1
    *    ;$par                   push.r.pri n2   ; where n2 is the number of pushes
    *    push.c n1               ;$par
    *    ;$par                   -
    *    push.c n1               -
    *    ;$par                   -
    *    etc.                    etc.
    * The shortest matched sequence is 3, because a sequence of two can also be
    * optimized as two "push.c n1" instructions.
    * => this optimization does not work, because the argument re-ordering in
    *    a function call causes each argument to be optimized individually
    */
//{
//  #ifdef SCPACK
//    "const.pri %1!push.pri!;$par!const.pri %1!push.pri!;$par!const.pri %1!push.pri!;$par!const.pri %1!push.pri!;$par!const.pri %1!push.pri!;$par!",
//    "const.pri %1!push.r.pri 5!;$par!",
//  #else
//    "\327\327\254",
//    "\352\221.r\2745!",
//  #endif
//  seqsize(10,5) - seqsize(2,2)
//},
//{
//  #ifdef SCPACK
//    "const.pri %1!push.pri!;$par!const.pri %1!push.pri!;$par!const.pri %1!push.pri!;$par!const.pri %1!push.pri!;$par!",
//    "const.pri %1!push.r.pri 4!;$par!",
//  #else
//    "\327\327",
//    "\352\221.r\274\326",
//  #endif
//  seqsize(8,4) - seqsize(2,2)
//},
//{
//  #ifdef SCPACK
//    "const.pri %1!push.pri!;$par!const.pri %1!push.pri!;$par!const.pri %1!push.pri!;$par!",
//    "const.pri %1!push.r.pri 3!;$par!",
//  #else
//    "\327\254",
//    "\352\221.r\274\247",
//  #endif
//  seqsize(6,3) - seqsize(2,2)
//},
   /* User-defined operators first load the operands into registers and
    * then have them pushed onto the stack. This can give rise to sequences
    * like:
    *    const.pri n1            push.c n1
    *    const.alt n2            push.c n2
    *    push.pri                -
    *    push.alt                -
    * A similar sequence occurs with the two PUSH.pri/alt instructions inverted.
    * The first, second, or both CONST.pri/alt instructions can also be
    * LOAD.pri/alt.
    * This gives 2 x 4 cases.
    */
   {
#ifdef SCPACK
    "const.pri %1!const.alt %2!push.pri!push.alt!",
    "push.c %1!push.c %2!",
#else
    "\316\236\311\240\351",
    "\330\205\330\216",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "const.pri %1!const.alt %2!push.alt!push.pri!",
    "push.c %2!push.c %1!",
#else
    "\316\236\311\351\240",
    "\330\216\330\205",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "const.pri %1!load.alt %2!push.pri!push.alt!",
    "push.c %1!push %2!",
#else
    "\316\213\311\240\351",
    "\330\205\222\216",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "const.pri %1!load.alt %2!push.alt!push.pri!",
    "push %2!push.c %1!",
#else
    "\316\213\311\351\240",
    "\222\216\330\205",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.pri %1!const.alt %2!push.pri!push.alt!",
    "push %1!push.c %2!",
#else
    "\314\236\311\240\351",
    "\222\205\330\216",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.pri %1!const.alt %2!push.alt!push.pri!",
    "push.c %2!push %1!",
#else
    "\314\236\311\351\240",
    "\330\216\222\205",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.pri %1!load.alt %2!push.pri!push.alt!",
    "push %1!push %2!",
#else
    "\314\213\311\240\351",
    "\222\205\222\216",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "load.pri %1!load.alt %2!push.alt!push.pri!",
    "push %2!push %1!",
#else
    "\314\213\311\351\240",
    "\222\216\222\205",
#endif
    seqsize(4, 2) - seqsize(2, 2)},
   /* Function calls (parameters are passed on the stack)
    *    load.s.pri n1           push.s n1
    *    push.pri                -
    *    --------------------------------------
    *    load.pri n1             push n1
    *    push.pri                -
    *    --------------------------------------
    *    const.pri n1            push.c n1
    *    push.pri                -
    *    --------------------------------------
    *    zero.pri                push.c 0
    *    push.pri                -
    *    --------------------------------------
    *    addr.pri n1             pushaddr n1
    *    push.pri                -
    *
    * However, PRI must not be needed after this instruction
    * if this shortcut is used. Check for the ;$par comment.
    */
   {
#ifdef SCPACK
    "load.s.pri %1!push.pri!;$par!",
    "push.s %1!;$par!",
#else
    "\224\255\344",
    "\222\220\205\344",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "load.pri %1!push.pri!;$par!",
    "push %1!;$par!",
#else
    "\213\255\344",
    "\222\205\344",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "const.pri %1!push.pri!;$par!",
    "push.c %1!;$par!",
#else
    "\236\255\344",
    "\330\205\344",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "zero.pri!push.pri!;$par!",
    "push.c 0!;$par!",
#else
    "\376\240\344",
    "\330 0!\344",
#endif
    seqsize(2, 0) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "addr.pri %1!push.pri!;$par!",
    "pushaddr %1!;$par!",
#else
    "\252\255\344",
    "\222\252\205\344",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   /* References with a default value generate new cells on the heap
    * dynamically. That code often ends with:
    *    move.pri                push.alt
    *    push.pri                -
    */
   {
#ifdef SCPACK
    "move.pri!push.pri!",
    "push.alt!",
#else
    "\350\232\240",
    "\351",
#endif
    seqsize(2, 0) - seqsize(1, 0)},
   /* Simple arithmetic operations on constants. Noteworthy is the
    * subtraction of a constant, since it is converted to the addition
    * of the inverse value.
    *    const.alt n1            add.c n1
    *    add                     -
    *    --------------------------------------
    *    const.alt n1            add.c -n1
    *    sub                     -
    *    --------------------------------------
    *    const.alt n1            smul.c n1
    *    smul                    -
    *    --------------------------------------
    *    const.alt n1            eq.c.pri n1
    *    eq                      -
    */
   {
#ifdef SCPACK
    "const.alt %1!add!",
    "add.c %1!",
#else
    "\360\270",
    "\233\247\205",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "const.alt %1!sub!",
    "add.c -%1!",
#else
    "\360sub!",
    "\233\247 -%\204",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "const.alt %1!smul!",
    "smul.c %1!",
#else
    "\360smul!",
    "smu\271\205",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "const.alt %1!eq!",
    "eq.c.pri %1!",
#else
    "\360\265",
    "\253\247\223",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   /* Some operations use the alternative subtraction operation --these
    * can also be optimized.
    *    const.pri n1            load.s.pri n2
    *    load.s.alt n2           add.c -n1
    *    sub.alt                 -
    *    --------------------------------------
    *    const.pri n1            load.pri n2
    *    load.alt n2             add.c -n1
    *    sub.alt                 -
    */
   {
#ifdef SCPACK
    "const.pri %1!load.s.alt %2!sub.alt!",
    "load.s.pri %2!add.c -%1!",
#else
    "\316\224\311sub\217",
    "\241\233\247 -%\204",
#endif
    seqsize(3, 2) - seqsize(2, 2)},
   {
#ifdef SCPACK
    "const.pri %1!load.alt %2!sub.alt!",
    "load.pri %2!add.c -%1!",
#else
    "\316\213\311sub\217",
    "\317\233\247 -%\204",
#endif
    seqsize(3, 2) - seqsize(2, 2)},
   /* Compare and jump
    *    eq                      jneq n1
    *    jzer n1                 -
    *    --------------------------------------
    *    eq                      jeq n1
    *    jnz n1                  -
    *    --------------------------------------
    *    neq                     jeq n1
    *    jzer n1                 -
    *    --------------------------------------
    *    neq                     jneq n1
    *    jnz n1                  -
    * Compares followed by jzer occur much more
    * often than compares followed with jnz. So we
    * take the easy route here.
    *    less                    jgeq n1
    *    jzer n1                 -
    *    --------------------------------------
    *    leq                     jgrtr n1
    *    jzer n1                 -
    *    --------------------------------------
    *    grtr                    jleq n1
    *    jzer n1                 -
    *    --------------------------------------
    *    geq                     jless n1
    *    jzer n1                 -
    *    --------------------------------------
    *    sless                   jsgeq n1
    *    jzer n1                 -
    *    --------------------------------------
    *    sleq                    jsgrtr n1
    *    jzer n1                 -
    *    --------------------------------------
    *    sgrtr                   jsleq n1
    *    jzer n1                 -
    *    --------------------------------------
    *    sgeq                    jsless n1
    *    jzer n1                 -
    */
   {
#ifdef SCPACK
    "eq!jzer %1!",
    "jneq %1!",
#else
    "\265\305",
    "jn\325",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "eq!jnz %1!",
    "jeq %1!",
#else
    "\265jnz\205",
    "j\325",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "neq!jzer %1!",
    "jeq %1!",
#else
    "n\265\305",
    "j\325",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "neq!jnz %1!",
    "jneq %1!",
#else
    "n\265jnz\205",
    "jn\325",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "less!jzer %1!",
    "jgeq %1!",
#else
    "l\322!\305",
    "jg\325",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "leq!jzer %1!",
    "jgrtr %1!",
#else
    "l\265\305",
    "jg\323r\205",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "grtr!jzer %1!",
    "jleq %1!",
#else
    "g\323\306\305",
    "jl\325",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "geq!jzer %1!",
    "jless %1!",
#else
    "g\265\305",
    "jl\322\205",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "sless!jzer %1!",
    "jsgeq %1!",
#else
    "\357\305",
    "j\302\325",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "sleq!jzer %1!",
    "jsgrtr %1!",
#else
    "\362\305",
    "j\337r\205",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "sgrtr!jzer %1!",
    "jsleq %1!",
#else
    "\364\305",
    "j\303\325",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "sgeq!jzer %1!",
    "jsless %1!",
#else
    "\361\305",
    "j\341\205",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   /* Test for zero (common case, especially for strings)
    * E.g. the test expression of: "for (i=0; str{i}!=0; ++i)"
    *
    *    zero.alt                jzer n1
    *    jeq n1                  -
    *    --------------------------------------
    *    zero.alt                jnz n1
    *    jneq n1                 -
    */
   {
#ifdef SCPACK
    "zero.alt!jeq %1!",
    "jzer %1!",
#else
    "\315\217j\325",
    "\305",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "zero.alt!jneq %1!",
    "jnz %1!",
#else
    "\315\217jn\325",
    "jnz\205",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   /* Incrementing and decrementing leaves a value in
    * in PRI which may not be used (for example, as the
    * third expression in a "for" loop).
    *    inc n1                  inc n1  ; ++n
    *    load.pri n1             ;$exp
    *    ;$exp                   -
    *    --------------------------------------
    *    load.pri n1             inc n1  ; n++, e.g. "for (n=0; n<10; n++)"
    *    inc n1                  ;$exp
    *    ;$exp                   -
    * Plus the varieties for stack relative increments
    * and decrements.
    */
   {
#ifdef SCPACK
    "inc %1!load.pri %1!;$exp!",
    "inc %1!;$exp!",
#else
    "\373c\205\314\245",
    "\373c\261",
#endif
    seqsize(2, 2) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "load.pri %1!inc %1!;$exp!",
    "inc %1!;$exp!",
#else
    "\314\373c\261",
    "\373c\261",
#endif
    seqsize(2, 2) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "inc.s %1!load.s.pri %1!;$exp!",
    "inc.s %1!;$exp!",
#else
    "\373\352\205\324\245",
    "\373\352\261",
#endif
    seqsize(2, 2) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "load.s.pri %1!inc.s %1!;$exp!",
    "inc.s %1!;$exp!",
#else
    "\324\373\352\261",
    "\373\352\261",
#endif
    seqsize(2, 2) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "dec %1!load.pri %1!;$exp!",
    "dec %1!;$exp!",
#else
    "\367c\205\314\245",
    "\367c\261",
#endif
    seqsize(2, 2) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "load.pri %1!dec %1!;$exp!",
    "dec %1!;$exp!",
#else
    "\314\367c\261",
    "\367c\261",
#endif
    seqsize(2, 2) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "dec.s %1!load.s.pri %1!;$exp!",
    "dec.s %1!;$exp!",
#else
    "\367\352\205\324\245",
    "\367\352\261",
#endif
    seqsize(2, 2) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "load.s.pri %1!dec.s %1!;$exp!",
    "dec.s %1!;$exp!",
#else
    "\324\367\352\261",
    "\367\352\261",
#endif
    seqsize(2, 2) - seqsize(1, 1)},
   /* ??? the same (increments and decrements) for references */
   /* Loading the constant zero has a special opcode.
    * When storing zero in memory, the value of PRI must not be later on.
    *    const.pri 0             zero n1
    *    stor.pri n1             ;$exp
    *    ;$exp                   -
    *    --------------------------------------
    *    const.pri 0             zero.s n1
    *    stor.s.pri n1           ;$exp
    *    ;$exp                   -
    *    --------------------------------------
    *    zero.pri                zero n1
    *    stor.pri n1             ;$exp
    *    ;$exp                   -
    *    --------------------------------------
    *    zero.pri                zero.s n1
    *    stor.s.pri n1           ;$exp
    *    ;$exp                   -
    *    --------------------------------------
    *    const.pri 0             zero.pri
    *    --------------------------------------
    *    const.alt 0             zero.alt
    * The last two alternatives save more memory than they save
    * time, but anyway...
    */
   {
#ifdef SCPACK
    "const.pri 0!stor.pri %1!;$exp!",
    "zero %1!;$exp!",
#else
    "\236\203 0!\227or\223\245",
    "\315\261",
#endif
    seqsize(2, 2) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "const.pri 0!stor.s.pri %1!;$exp!",
    "zero.s %1!;$exp!",
#else
    "\236\203 0!\227or\220\223\245",
    "\315\220\261",
#endif
    seqsize(2, 2) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "zero.pri!stor.pri %1!;$exp!",
    "zero %1!;$exp!",
#else
    "\376\227or\223\245",
    "\315\261",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "zero.pri!stor.s.pri %1!;$exp!",
    "zero.s %1!;$exp!",
#else
    "\376\227or\220\223\245",
    "\315\220\261",
#endif
    seqsize(2, 1) - seqsize(1, 1)},
   {
#ifdef SCPACK
    "const.pri 0!",
    "zero.pri!",
#else
    "\236\203 0!",
    "\376",
#endif
    seqsize(1, 1) - seqsize(1, 0)},
   {
#ifdef SCPACK
    "const.alt 0!",
    "zero.alt!",
#else
    "\236\211 0!",
    "\315\217",
#endif
    seqsize(1, 1) - seqsize(1, 0)},
   /* ----- */
   {NULL, NULL, 0}
};