Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20110605085442

Diff

Diff from 1.35 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/pcc/pcc/arch/m16c/table.c

Annotated File View

plunky
1.35
1 /*      $Id: table.c,v 1.35 2011/06/05 08:54:42 plunky Exp $    */
2
pj
1.1
3 #include "pass2.h"
4
ragge
1.11
5 # define ANYSIGNED TINT|TLONG|TCHAR
6 # define ANYUSIGNED TUNSIGNED|TULONG|TUCHAR
pj
1.1
7 # define ANYFIXED ANYSIGNED|ANYUSIGNED
ragge
1.11
8 # define TL TLONG|TULONG
ragge
1.12
9 # define TWORD TUNSIGNED|TINT
ragge
1.11
10 # define TCH TCHAR|TUCHAR
pj
1.1
11
12 struct optab table[] = {
13 /* First entry must be an empty entry */
14 { -1FOREFFSANYTANYSANYTANY00"", },
pj
1.3
15
ragge
1.13
16 /* (signed) char -> int/pointer */
janeno-1
1.30
17 SCONV,        INAREG,
janeno-1
1.31
18         SCREG,          TCHAR,
ragge
1.13
19         SANY,           TINT|TPOINT,
janeno-1
1.31
20                 NAREG,  RESC1,
21                 "       mov.b AL, A1\n\texts.b A1\n", },
pj
1.3
22
janeno-1
1.31
23 /* (unsigned) char -> int/pointer */
24 SCONV,        INAREG,
25         SCREG,          TUCHAR,
26         SANY,           TINT|TPOINT,
27                 NAREG,  RESC1,
28                 "       mov.b AL, A1\n", },
29     
ragge
1.23
30 /* unsigned char -> long */
janeno-1
1.30
31 SCONV,        INAREG,
janeno-1
1.31
32         SCREG,          TUCHAR,
ragge
1.23
33         SANY,           TL,
34                 NAREG|NASL,     RESC1,
janeno-1
1.31
35                 "       mov.b AL, A1\n  mov.w #0,U1\n", },
ragge
1.23
36
ragge
1.18
37 /* int or pointer -> (unsigned) long */
janeno-1
1.30
38 SCONV,        INAREG,
39         SAREG|SNAME,    TWORD|TPOINT,
ragge
1.18
40         SANY,                   TL,
41                 NAREG|NASL,     RESC1,
42                 "       mov.w AL,A1\n   mov.w #0,U1\n", },
43
ragge
1.22
44 /* char -> (signed) long */
janeno-1
1.30
45 SCONV,        INAREG,
46         SAREG|SNAME,    TCHAR,
ragge
1.22
47         SANY,                   TLONG,
48                 NAREG|NASL,     RESC1,
49                 "       exts.b AL\n     exts.w AL\n", },
50
pj
1.20
51 /* long -> ulong */
janeno-1
1.30
52 SCONV,        INAREG,
53         SAREG,          TL,
ragge
1.21
54         SANY,                   TL,
pj
1.20
55                 0,      RLEFT,
56         "", },
57
ragge
1.18
58 /* long -> int or pointer */
janeno-1
1.30
59 SCONV,        INAREG,
60         SAREG|SOREG|SNAME,      TL,
ragge
1.18
61         SANY,                   TWORD|TPOINT,
62                 NAREG|NASL,     RESC1,
63                 "       mov.w AL,A1\n", },
64
pj
1.20
65 /* int -> char */
janeno-1
1.31
66 SCONV,        INCREG,
janeno-1
1.30
67         SAREG,          TWORD,
ragge
1.13
68         SANY,           TCH,
janeno-1
1.31
69                 NCREG,  RESC1,
70                 "       mov.b AL, A1\n", },
ragge
1.13
71
ragge
1.22
72 /* int -> long */
janeno-1
1.30
73 SCONV,        INAREG,
74         SAREG,          TWORD,
ragge
1.22
75         SANY,           TLONG,
76                 NAREG|NASL,     RESC1,
77                 "       exts.w AL", },
78
ragge
1.21
79 /* long -> char */
janeno-1
1.30
80 SCONV,        INAREG,
81         SAREG,          TL,
ragge
1.21
82         SANY,           TCH,
83                 NAREG|NASL,     RESC1,
84                 "", },
85
janeno-1
1.30
86 SCONV,        INAREG,
87         SAREG,          TPOINT,
ragge
1.13
88         SANY,           TWORD,
89                 0,      RLEFT,
90                 "", },
91
ragge
1.18
92 PLUSINAREG|FOREFF,
janeno-1
1.30
93         SAREG,  TL,
ragge
1.18
94         SCON|SNAME|SOREG,       TL,
95                 0,      RLEFT,
96                 "       add.w AR,AL\n   adc.w UR,UL\n", },
97
98 MINUS,        INAREG|FOREFF,
janeno-1
1.30
99         SAREG,  TL,
ragge
1.18
100         SCON|SNAME|SOREG,       TL,
101                 0,      RLEFT,
102                 "       sub.w AR,AL\n   sbb.w UR,UL\n", },
103
ragge
1.23
104 AND,          INAREG|FOREFF,
janeno-1
1.30
105         SAREG,                  TL,
106         SAREG|SNAME|SOREG,      TL,
ragge
1.23
107                 0,      RLEFT,
108                 "       and.w AR,AL\n   and.w UR,UL\n", },
109
janeno-1
1.32
110 ER,           INAREG|FOREFF,
111         SAREG,                  TL,
112         SAREG|SNAME|SOREG,      TL,
113                 0,      RLEFT,
114                 "       xor.w AR,AL\n   xor.w UR,UL\n", },
115
116 OR,           INAREG|FOREFF,
117         SAREG,                  TL,
118         SAREG|SNAME|SOREG,      TL,
ragge
1.11
119                 0,      RLEFT,
janeno-1
1.32
120                 "       xor.w AR,AL\n   xor.w UR,UL\n", },
ragge
1.11
121
janeno-1
1.32
122 COMPL,        INAREG|FOREFF,
123         SAREG,                  TL,
124         SAREG|SNAME|SOREG,      TL,
125                 0,      RLEFT,
126                 "       not.w AR,AL\n   not.w UR,UL\n", },
127         
ragge
1.11
128 OPSIMP,       INAREG|FOREFF,
janeno-1
1.30
129         SAREG,                  TWORD|TPOINT,
janeno-1
1.31
130         SAREG|SNAME|SOREG|SCONTWORD|TPOINT,
pj
1.1
131                 0,      RLEFT,
ragge
1.2
132                 "       Ow AR,AL\n", },
pj
1.1
133
janeno-1
1.32
134 /* XXX - Is this rule really correct? Having a SAREG shape seems kind of
janeno-1
1.33
135    strange. Doesn't work. Gives a areg as A1. */
136 #if 0   
janeno-1
1.32
137 OPSIMP,       INBREG,
janeno-1
1.33
138         SAREG,                  TWORD|TPOINT,
139         SAREG|SBREG|SNAME|SOREG|SCON,   TWORD|TPOINT,
140                 NBREG,  RESC1,
141                 "       ++Ow AR,A1\n", },
142 #endif
143         
144 OPSIMP,       INBREG,
145         SBREG,                  TWORD|TPOINT,
janeno-1
1.32
146         SAREG|SBREG|SNAME|SOREG|SCON,   TWORD|TPOINT,
janeno-1
1.33
147                 0,      RLEFT,
148                 "       Ow AR,AL\n", },
janeno-1
1.32
149         
150 OPSIMP,       INCREG|FOREFF,
151         SCREG,                  TCH,
152         SCREG|SNAME|SOREG|SCONTCH,
153                 0,      RLEFT,
154                 "       Ob AR,AL\n", },
155         
janeno-1
1.30
156 /* XXX - Do these work? check nspecial in order.c */
ragge
1.13
157 /* signed integer division */
janeno-1
1.30
158 DIV,          INAREG,
159         SAREG,                  TINT,
160         SAREG|SNAME|SOREG,      TWORD,
janeno-1
1.33
161           /*2*NAREG|NASL|*/NSPECIAL,            RLEFT,
162                 "       div.w AR\n      mov.w r0,AL\n", },
janeno-1
1.31
163       //                "       xor.w r2\n      div.w AR\n", },
ragge
1.13
164
janeno-1
1.30
165
janeno-1
1.31
166 /* signed integer/char division - separate entry for FOREFF */
janeno-1
1.30
167 DIV,          FOREFF,
janeno-1
1.33
168         SAREG,                  TINT,
169         SAREG|SNAME|SOREG,      TWORD,
janeno-1
1.30
170                 0,              0,
janeno-1
1.31
171                 "", },
172
janeno-1
1.33
173 #if 0
janeno-1
1.31
174 /* signed char division */
175 DIV,          INCREG,
176         SCREG,                  TCHAR,
177         SCREG|SNAME|SOREG,      TCH,
janeno-1
1.33
178                 2*NCREG|NCSL|NSPECIAL,          RLEFT,
179                 "       div.b AR\n\tmov.b r0l,AL\n", },
janeno-1
1.31
180       //                "       xor.w r2\n      div.w AR\n", },
janeno-1
1.33
181 #endif
182         
ragge
1.13
183 /* signed integer modulus, equal to above */
janeno-1
1.30
184 MOD,          INAREG,
185         SAREG,                  TINT,
186         SAREG|SNAME|SOREG,      TWORD,
janeno-1
1.33
187           /*2*NAREG|NASL|*/NSPECIAL,            RLEFT,
188                 "       div.w AR\n\tmov r2,AL\n", },
ragge
1.13
189
janeno-1
1.30
190 /* signed integer modulus - separate entry for FOREFF */
191 MOD,          FOREFF,
192         SAREG,                  TINT,
193         SAREG|SNAME|SOREG,      TWORD,
194                 0,              0,
janeno-1
1.31
195                 "", },
196
197 /* signed integer multiplication */
198 MUL,          INAREG,
199         SAREG,                  TINT,
200         SAREG|SNAME|SOREG,      TWORD,
201                 2*NAREG|NASL|NSPECIAL,          RESC1,
janeno-1
1.33
202                 "       mul.w AL,AR\n", },
janeno-1
1.31
203
204 MUL,          FOREFF,
205         SAREG,                  TINT,
206         SAREG|SNAME|SOREG,      TWORD,
207                 0,      0,
208                 "", },
209
ragge
1.19
210 #if 0
janeno-1
1.30
211 LS,           INAREG,
212         SAREG,  TWORD,
pj
1.3
213         SCON,           TANY,
214                 0,      RLEFT,
ragge
1.18
215                 "       shl.w AR,AL\n", },
ragge
1.19
216 #endif
pj
1.3
217
janeno-1
1.30
218 LS,           INAREG,
219         SAREG,  TWORD,
220         SAREG,  TWORD,
pj
1.3
221                 0,      RLEFT,
ragge
1.19
222                 "       push.b r1h\n"
223                 "       mov.b AR,r1h\n"
224                 "       shl.w r1h,AL\n"
225                 "       pop.b r1h\n", },
ragge
1.18
226
janeno-1
1.30
227 LS,           INAREG,
228         SAREG,  TL,
229         SAREG,  TWORD,
ragge
1.18
230                 0,      RLEFT,
ragge
1.19
231                 "       push.b r1h\n"
232                 "       mov.b AR,r1h\n"
233                 "       shl.l r1h,ZG\n"
234                 "       pop.b r1h\n", },
235
janeno-1
1.30
236 RS,           INAREG,
237         SAREG,  TWORD,
238         SAREG,  TWORD,
ragge
1.19
239                 0,      RLEFT,
240                 "       push.b r1h\n"
241                 "       mov.b AR,r1h\n"
242                 "       neg.b r1h\n"
243                 "       shl.w r1h,AL\n"
244                 "       pop.b r1h\n", },
pj
1.3
245
janeno-1
1.30
246 RS,           INAREG,
247         SAREG,  TL,
248         SAREG,  TWORD,
ragge
1.19
249                 0,      RLEFT,
250                 "       push.b r1h\n"
251                 "       mov.b AR,r1h\n"
252                 "       neg.b r1h\n"
253                 "       shl.l r1h,ZG\n"
254                 "       pop.b r1h\n", },
255
256 #if 0
janeno-1
1.30
257 RS,           INAREG,
258         SAREG,  TUNSIGNED,
pj
1.3
259         SCON,           TANY,
260                 0,      RLEFT,
ragge
1.11
261                 "       shl ZA,AL\n", },
pj
1.3
262
janeno-1
1.30
263 RS,           INAREG,
264         SAREG,  TINT,
pj
1.3
265         SCON,           TANY,
266                 0,      RLEFT,
ragge
1.11
267                 "       sha ZA,AL\n", },
ragge
1.19
268 #endif
pj
1.3
269
pj
1.1
270 OPLOG,        FORCC,
janeno-1
1.30
271         SAREG|SBREG|SOREG|SNAME,        TL,
272         SAREG|SBREG|SOREG|SNAME,        TL,
ragge
1.18
273                 0,      0,
274                 "ZF", },
275
276 OPLOG,        FORCC,
janeno-1
1.30
277         SBREG|SOREG,    TWORD|TPOINT,
pj
1.3
278         SCON,                   TWORD|TPOINT,
pj
1.1
279                 0,      RESCC,
ragge
1.16
280                 "       cmp.w AR,AL\n", },
281
282 OPLOG,        FORCC,
janeno-1
1.30
283         SAREG|SBREG|SOREG|SNAME,        TWORD|TPOINT,
284         SAREG|SBREG|SOREG|SNAME,        TWORD|TPOINT,
ragge
1.16
285                 0,      RESCC,
286                 "       cmp.w AR,AL\n", },
287
288 OPLOG,        FORCC,
janeno-1
1.32
289         SCREG|SOREG|SNAME,      TCH,
290         SCREG|SOREG|SNAME,      TCH,
ragge
1.16
291                 0,      RESCC,
292                 "       cmp.b AR,AL\n", },
293
294 OPLOG,        FORCC,
janeno-1
1.32
295         SCREG|SOREG|SNAME,      TCH,
296         SCREG|SOREG|SNAME,      TCH,
ragge
1.16
297                 0,      RESCC,
298                 "       cmp.b AR,AL\n", },
pj
1.1
299
pj
1.3
300 GOTO,         FOREFF,
301         SCON,   TANY,
302         SANY,   TANY,
303                 0,      RNOP,
pj
1.26
304                 "       jmp.w ZC\n", },
pj
1.3
305
janeno-1
1.30
306 OPLTYPE,      INAREG,
ragge
1.6
307         SANY,   TANY,
janeno-1
1.30
308         SCON|SNAME|SOREG|SAREGTL|TFTN,
ragge
1.18
309                 NAREG,  RESC1,
310                 "       mov.w AR,A1\n   mov.w UR,U1\n", },
311
janeno-1
1.30
312 OPLTYPE,      INAREG,
ragge
1.18
313         SANY,   TANY,
janeno-1
1.32
314         SCON|SNAME|SOREG|SAREG|SBREG,   TWORD|TPOINT,
ragge
1.6
315                 NAREG,  RESC1,
ragge
1.11
316                 "       mov.w AR,A1\n", },      
ragge
1.6
317
janeno-1
1.30
318 OPLTYPE,      INBREG,
pj
1.1
319         SANY,   TANY,
janeno-1
1.32
320         SBREG|SCON|SNAME|SOREG|SAREG,   TWORD|TPOINT,
pj
1.1
321                 NBREG,  RESC1,
ragge
1.11
322                 "       mov.w AR,A1\n", },      
janeno-1
1.31
323     /*
janeno-1
1.30
324 { OPLTYPE,      INAREG,
pj
1.3
325         SANY,           TANY,
ragge
1.11
326         SCON|SNAME|SOREG,       TCH,
pj
1.3
327                 NAREG,  RESC1,
ragge
1.11
328                 "       mov.b AR, A1\n", },
pj
1.3
329
janeno-1
1.30
330 { OPLTYPE,      INBREG,
ragge
1.9
331         SANY,                   TANY,
332         SCON|SNAME|SOREG,       TCHAR|TUCHAR,
ragge
1.11
333                 NBREG,  RESC1,
ragge
1.9
334                 "       mov.b AR,A1\n", },
janeno-1
1.31
335     */
336     
janeno-1
1.30
337 OPLTYPE,      INCREG,
338         SANY,                   TANY,
339         SCON|SNAME|SOREG,       TCHAR|TUCHAR,
340                 NCREG,  RESC1,
341                 "       mov.b AR,A1\n", },
342     
343 COMPL,        INAREG,
344         SAREG,  TWORD,
pj
1.3
345         SANY,           TANY,
346                 0,      RLEFT,
347                 "       not.w AL\n", },
348
janeno-1
1.32
349 COMPL,        INCREG,
350         SCREG,  TCH,
351         SANY,           TANY,
352                 0,      RLEFT,
353                 "       not.b AL\n", },
354         
ragge
1.25
355 /* Push function address */
pj
1.3
356 FUNARG,       FOREFF,
ragge
1.25
357         SCON,   TFTN,
358         SANY,   TANY,
359                 0,      RNULL,
360                 "ZH", },
361
362 FUNARG,       FOREFF,
363         SOREG,  TFTN,
364         SANY,   TANY,
365                 0,      RNULL,
366                 "ZI", },
367
368 FUNARG,       FOREFF,
janeno-1
1.30
369         SNAME|SAREG,    TL|TFTN,
ragge
1.18
370         SANY,   TANY,
371                 0,      RNULL,
372                 "       push.w UL\n     push.w AL\n", },
373
374 FUNARG,       FOREFF,
janeno-1
1.30
375         SCON|SAREG|SNAME|SOREGTWORD|TPOINT,
pj
1.3
376         SANY,                   TANY,
377                 0,      RNULL,
378                 "       push.w AL\n", },
379
380 FUNARG,       FOREFF,
janeno-1
1.30
381         SAREG|SNAME|SOREG,      TCHAR|TUCHAR,
ragge
1.11
382         SANY,                           TANY,
pj
1.3
383                 0,      RNULL,
ragge
1.10
384                 "       push.b AL\n", },
ragge
1.2
385
ragge
1.14
386 /* Match function pointers first */
ragge
1.28
387 #if 0
ragge
1.14
388 ASSIGN,       FOREFF,
389         SFTN,   TWORD|TPOINT,
390         SFTN,   TWORD|TPOINT,
391                 NAREG,  0,
392                 "ZD", },
ragge
1.28
393 #endif
394
janeno-1
1.30
395 ASSIGN,       INAREG,
396         SAREG,  TFTN,
397         SCON,   TFTN,
398                 0,      RLEFT,
399                 "ZD", },
400     
401 ASSIGN,       INBREG,
402         SBREG,  TFTN,
ragge
1.28
403         SCON,   TFTN,
404                 0,      RLEFT,
405                 "ZD", },
406
janeno-1
1.30
407 ASSIGN,       INAREG,
408         SAREG,  TFTN,
409         SBREG|SAREG|SOREG|SNAME,        TFTN,
ragge
1.28
410                 0,      RLEFT,
411                 "       mov.w AR,AL\n   mov.w UR,UL\n", },
ragge
1.14
412
janeno-1
1.30
413 ASSIGN,       INBREG,
414         SBREG,  TFTN,
415         SBREG|SAREG|SOREG|SNAME,        TFTN,
416                 0,      RLEFT,
417                 "       mov.w AR,AL\n   mov.w UR,UL\n", },
418     
419 ASSIGN,       INAREG,
420         SBREG|SAREG|SOREG|SNAME,        TFTN,
421         SAREG,  TFTN,
ragge
1.25
422                 0,      RRIGHT,
423                 "       mov.w AR,AL\n   mov.w UR,UL\n", },
ragge
1.14
424
janeno-1
1.30
425 ASSIGN,       INBREG,
426         SBREG|SAREG|SOREG|SNAME,        TFTN,
427         SBREG,  TFTN,
428                 0,      RRIGHT,
429                 "       mov.w AR,AL\n   mov.w UR,UL\n", },
janeno-1
1.31
430
431 /* a reg -> a reg */
janeno-1
1.30
432 ASSIGN,       FOREFF|INAREG,
433         SAREG,  TWORD|TPOINT,
434         SAREG,  TWORD|TPOINT,
435                 0,      RLEFT,
436                 "       mov.w AR,AL\n", },
janeno-1
1.31
437
janeno-1
1.30
438 ASSIGN,       INAREG,
439         SBREG|SAREG|SOREG|SNAME,        TL,
440         SAREG,  TL,
ragge
1.18
441                 0,      RRIGHT,
442                 "       mov.w AR,AL\n   mov.w UR,UL\n", },
443
janeno-1
1.30
444 ASSIGN,       INBREG,
445         SBREG|SAREG|SOREG|SNAME,        TL,
446         SBREG,  TL,
447                 0,      RRIGHT,
448                 "       mov.w AR,AL\n   mov.w UR,UL\n", },
449     
ragge
1.18
450 ASSIGN,       FOREFF,
janeno-1
1.30
451         SBREG|SAREG|SOREG|SNAME,        TL,
452         SCON|SBREG|SAREG|SOREG|SNAME,   TL,
ragge
1.17
453                 0,      0,
454                 "       mov.w AR,AL\n   mov.w UR,UL\n", },
455
janeno-1
1.30
456 ASSIGN,       INAREG|FOREFF,
457         SAREG,  TWORD|TPOINT,
janeno-1
1.33
458         SCON,   TANY,
ragge
1.9
459                 0,      RLEFT,
460                 "       mov.w AR,AL\n", },
461
janeno-1
1.30
462 ASSIGN,       INBREG|FOREFF,
463         SBREG,  TWORD|TPOINT,
janeno-1
1.33
464         SCON,   TANY,
janeno-1
1.30
465                 0,      RLEFT,
466                 "       mov.w AR,AL\n", },
467     
pj
1.1
468 ASSIGN,       FOREFF,
ragge
1.9
469         SNAME|SOREG,    TWORD|TPOINT,
470         SCON,           TANY,
pj
1.1
471                 0,      0,
ragge
1.9
472                 "       mov.w AR,AL\n", },
473
janeno-1
1.31
474 /* char, oreg/name -> c reg */
janeno-1
1.30
475 ASSIGN,       FOREFF|INCREG,
476         SCREG,  TCHAR|TUCHAR,
477         SOREG|SNAME|SCON,       TCHAR|TUCHAR,
ragge
1.10
478                 0,      RLEFT,
479                 "       mov.b AR,AL\n", },
480
janeno-1
1.31
481 /* int, oreg/name -> a reg */
janeno-1
1.30
482 ASSIGN,       FOREFF|INAREG,
483         SAREG,  TWORD|TPOINT,
484         SOREG|SNAME,    TWORD|TPOINT,
ragge
1.10
485                 0,      RLEFT,
486                 "       mov.w AR,AL\n", },
487
janeno-1
1.30
488 ASSIGN,       FOREFF|INBREG,
489         SBREG,  TWORD|TPOINT,
490         SOREG|SNAME,    TWORD|TPOINT,
491                 0,      RLEFT,
492                 "       mov.w AR,AL\n", },
493     
494 ASSIGN,       FOREFF|INAREG,
495         SOREG|SNAME,    TWORD|TPOINT,
496         SAREG,  TWORD|TPOINT,
ragge
1.9
497                 0,      RRIGHT,
ragge
1.10
498                 "       mov.w AR,AL\n", },
pj
1.3
499
janeno-1
1.30
500 ASSIGN,       FOREFF|INBREG,
501         SOREG|SNAME,    TWORD|TPOINT,
502         SBREG,  TWORD|TPOINT,
503                 0,      RRIGHT,
504                 "       mov.w AR,AL\n", },
505     
506 ASSIGN,       FOREFF|INCREG,
ragge
1.9
507         SOREG|SNAME,    TCHAR|TUCHAR,
janeno-1
1.30
508         SCREG,  TCHAR|TUCHAR,
pj
1.3
509                 0,      RRIGHT,
ragge
1.9
510                 "       mov.b AR,AL\n", },
pj
1.3
511
janeno-1
1.33
512 ASSIGN,       FOREFF|INCREG,
513         SCREG,    TCHAR|TUCHAR,
514         SCREG,  TCHAR|TUCHAR,
515                 0,      RRIGHT,
516                 "       mov.b AR,AL\n", },
517
518 ASSIGN,       FOREFF|INBREG,
519         SBREG,    TWORD|TPOINT,
520         SBREG,  TWORD|TPOINT,
521                 0,      RRIGHT,
522                 "       mov.w AR,AL\n", },
523         
janeno-1
1.30
524 UMUL,         INAREG,
525         SBREG,  TPOINT|TWORD,
janeno-1
1.32
526         SANY,   TFTN,
ragge
1.29
527                 NAREG,  RESC1,
528                 "       mov.w [AL],A1\n mov.w 2[AL],U1\n", },
529
janeno-1
1.30
530 UMUL,         INAREG,
531         SBREG,  TPOINT|TWORD,
janeno-1
1.32
532         SANY,   TPOINT|TWORD,
ragge
1.2
533                 NAREG,  RESC1,
534                 "       mov.w [AL],A1\n", },
535
janeno-1
1.30
536 UMUL,         INBREG,
537         SBREG,  TPOINT|TWORD,
janeno-1
1.32
538         SANY,   TPOINT|TWORD,
ragge
1.4
539                 NBREG|NBSL,     RESC1,
540                 "       mov.w [AL],A1\n", },
541
janeno-1
1.30
542 UMUL,         INAREG,
543         SBREG,  TCHAR|TUCHAR|TPTRTO,
janeno-1
1.32
544         SANY,   TCHAR|TUCHAR,
pj
1.3
545                 NAREG,  RESC1,
janeno-1
1.33
546                 "       mov.b [AL], A1\n", },
janeno-1
1.30
547     
548 UCALL,        FOREFF,
549         SCON,   TANY,
550         SANY,   TANY,
551                 0,      0,
552                 "       jsr.w CL\nZB", },
553     
janeno-1
1.31
554 UCALL,        INAREG,
pj
1.1
555         SCON,   TANY,
556         SANY,   TANY,
ragge
1.10
557                 NAREG,  RESC1,
558                 "       jsr.w CL\nZB", },
pj
1.1
559
janeno-1
1.31
560 UCALL,        INAREG,
ragge
1.24
561         SNAME|SOREG,    TANY,
562         SANY,           TANY,
563                 NAREG|NASL,     RESC1,  /* should be 0 */
564                 "       jsri.a AL\nZB", },
565
janeno-1
1.30
566 UCALL,        FOREFF,
567         SNAME|SOREG,    TANY,
568         SANY,           TANY,
569                 0,     0,  
570                 "       jsri.a AL\nZB", },
571     
janeno-1
1.31
572 UCALL,        INAREG,
janeno-1
1.30
573         SBREG,   TANY,
ragge
1.8
574         SANY,   TANY,
575                 NAREG|NASL,     RESC1,  /* should be 0 */
ragge
1.15
576                 "       jsri.a [AL]\nZB", },
ragge
1.8
577
janeno-1
1.30
578 UCALL,        FOREFF,
579         SBREG,   TANY,
580         SANY,   TANY,
581                 0,     0,
582                 "       jsri.a [AL]\nZB", },
583
584     
ragge
1.2
585 FREEFREE,   FREE,   FREE,   FREE,   FREE,   FREE,   FREE,   "help; I'm in trouble\n" },
pj
1.1
586 };
587
588 int tablesize = sizeof(table)/sizeof(table[0]);
589
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-24 06:24 +0200