1/* A Bison parser, made by GNU Bison 3.8.2.  */
2
3/* Bison interface for Yacc-like parsers in C
4
5   Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
6   Inc.
7
8   This program is free software: you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation, either version 3 of the License, or
11   (at your option) any later version.
12
13   This program is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
20
21/* As a special exception, you may create a larger work that contains
22   part or all of the Bison parser skeleton and distribute that work
23   under terms of your choice, so long as that work isn't itself a
24   parser generator using the skeleton or a modified version thereof
25   as a parser skeleton.  Alternatively, if you modify or redistribute
26   the parser skeleton itself, you may (at your option) remove this
27   special exception, which will cause the skeleton and the resulting
28   Bison output files to be licensed under the GNU General Public
29   License without this special exception.
30
31   This special exception was added by the Free Software Foundation in
32   version 2.2 of Bison.  */
33
34/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
35   especially those whose name start with YY_ or yy_.  They are
36   private implementation details that can be changed or removed.  */
37
38#ifndef YY_RX_CONFIG_RX_PARSE_H_INCLUDED
39# define YY_RX_CONFIG_RX_PARSE_H_INCLUDED
40/* Debug traces.  */
41#ifndef YYDEBUG
42# define YYDEBUG 0
43#endif
44#if YYDEBUG
45extern int rx_debug;
46#endif
47
48/* Token kinds.  */
49#ifndef YYTOKENTYPE
50# define YYTOKENTYPE
51  enum yytokentype
52  {
53    YYEMPTY = -2,
54    YYEOF = 0,                     /* "end of file"  */
55    YYerror = 256,                 /* error  */
56    YYUNDEF = 257,                 /* "invalid token"  */
57    REG = 258,                     /* REG  */
58    FLAG = 259,                    /* FLAG  */
59    CREG = 260,                    /* CREG  */
60    ACC = 261,                     /* ACC  */
61    DREG = 262,                    /* DREG  */
62    DREGH = 263,                   /* DREGH  */
63    DREGL = 264,                   /* DREGL  */
64    DCREG = 265,                   /* DCREG  */
65    EXPR = 266,                    /* EXPR  */
66    UNKNOWN_OPCODE = 267,          /* UNKNOWN_OPCODE  */
67    IS_OPCODE = 268,               /* IS_OPCODE  */
68    DOT_S = 269,                   /* DOT_S  */
69    DOT_B = 270,                   /* DOT_B  */
70    DOT_W = 271,                   /* DOT_W  */
71    DOT_L = 272,                   /* DOT_L  */
72    DOT_A = 273,                   /* DOT_A  */
73    DOT_UB = 274,                  /* DOT_UB  */
74    DOT_UW = 275,                  /* DOT_UW  */
75    DOT_D = 276,                   /* DOT_D  */
76    ABS = 277,                     /* ABS  */
77    ADC = 278,                     /* ADC  */
78    ADD = 279,                     /* ADD  */
79    AND_ = 280,                    /* AND_  */
80    BCLR = 281,                    /* BCLR  */
81    BCND = 282,                    /* BCND  */
82    BFMOV = 283,                   /* BFMOV  */
83    BFMOVZ = 284,                  /* BFMOVZ  */
84    BMCND = 285,                   /* BMCND  */
85    BNOT = 286,                    /* BNOT  */
86    BRA = 287,                     /* BRA  */
87    BRK = 288,                     /* BRK  */
88    BSET = 289,                    /* BSET  */
89    BSR = 290,                     /* BSR  */
90    BTST = 291,                    /* BTST  */
91    CLRPSW = 292,                  /* CLRPSW  */
92    CMP = 293,                     /* CMP  */
93    DABS = 294,                    /* DABS  */
94    DADD = 295,                    /* DADD  */
95    DBT = 296,                     /* DBT  */
96    DCMP = 297,                    /* DCMP  */
97    DDIV = 298,                    /* DDIV  */
98    DIV = 299,                     /* DIV  */
99    DIVU = 300,                    /* DIVU  */
100    DMOV = 301,                    /* DMOV  */
101    DMUL = 302,                    /* DMUL  */
102    DNEG = 303,                    /* DNEG  */
103    DPOPM = 304,                   /* DPOPM  */
104    DPUSHM = 305,                  /* DPUSHM  */
105    DROUND = 306,                  /* DROUND  */
106    DSQRT = 307,                   /* DSQRT  */
107    DSUB = 308,                    /* DSUB  */
108    DTOF = 309,                    /* DTOF  */
109    DTOI = 310,                    /* DTOI  */
110    DTOU = 311,                    /* DTOU  */
111    EDIV = 312,                    /* EDIV  */
112    EDIVU = 313,                   /* EDIVU  */
113    EMACA = 314,                   /* EMACA  */
114    EMSBA = 315,                   /* EMSBA  */
115    EMUL = 316,                    /* EMUL  */
116    EMULA = 317,                   /* EMULA  */
117    EMULU = 318,                   /* EMULU  */
118    FADD = 319,                    /* FADD  */
119    FCMP = 320,                    /* FCMP  */
120    FDIV = 321,                    /* FDIV  */
121    FMUL = 322,                    /* FMUL  */
122    FREIT = 323,                   /* FREIT  */
123    FSUB = 324,                    /* FSUB  */
124    FSQRT = 325,                   /* FSQRT  */
125    FTOD = 326,                    /* FTOD  */
126    FTOI = 327,                    /* FTOI  */
127    FTOU = 328,                    /* FTOU  */
128    INT = 329,                     /* INT  */
129    ITOD = 330,                    /* ITOD  */
130    ITOF = 331,                    /* ITOF  */
131    JMP = 332,                     /* JMP  */
132    JSR = 333,                     /* JSR  */
133    MACHI = 334,                   /* MACHI  */
134    MACLH = 335,                   /* MACLH  */
135    MACLO = 336,                   /* MACLO  */
136    MAX = 337,                     /* MAX  */
137    MIN = 338,                     /* MIN  */
138    MOV = 339,                     /* MOV  */
139    MOVCO = 340,                   /* MOVCO  */
140    MOVLI = 341,                   /* MOVLI  */
141    MOVU = 342,                    /* MOVU  */
142    MSBHI = 343,                   /* MSBHI  */
143    MSBLH = 344,                   /* MSBLH  */
144    MSBLO = 345,                   /* MSBLO  */
145    MUL = 346,                     /* MUL  */
146    MULHI = 347,                   /* MULHI  */
147    MULLH = 348,                   /* MULLH  */
148    MULLO = 349,                   /* MULLO  */
149    MULU = 350,                    /* MULU  */
150    MVFACHI = 351,                 /* MVFACHI  */
151    MVFACGU = 352,                 /* MVFACGU  */
152    MVFACMI = 353,                 /* MVFACMI  */
153    MVFACLO = 354,                 /* MVFACLO  */
154    MVFC = 355,                    /* MVFC  */
155    MVFDC = 356,                   /* MVFDC  */
156    MVFDR = 357,                   /* MVFDR  */
157    MVTACGU = 358,                 /* MVTACGU  */
158    MVTACHI = 359,                 /* MVTACHI  */
159    MVTACLO = 360,                 /* MVTACLO  */
160    MVTC = 361,                    /* MVTC  */
161    MVTDC = 362,                   /* MVTDC  */
162    MVTIPL = 363,                  /* MVTIPL  */
163    NEG = 364,                     /* NEG  */
164    NOP = 365,                     /* NOP  */
165    NOT = 366,                     /* NOT  */
166    OR = 367,                      /* OR  */
167    POP = 368,                     /* POP  */
168    POPC = 369,                    /* POPC  */
169    POPM = 370,                    /* POPM  */
170    PUSH = 371,                    /* PUSH  */
171    PUSHA = 372,                   /* PUSHA  */
172    PUSHC = 373,                   /* PUSHC  */
173    PUSHM = 374,                   /* PUSHM  */
174    RACL = 375,                    /* RACL  */
175    RACW = 376,                    /* RACW  */
176    RDACL = 377,                   /* RDACL  */
177    RDACW = 378,                   /* RDACW  */
178    REIT = 379,                    /* REIT  */
179    REVL = 380,                    /* REVL  */
180    REVW = 381,                    /* REVW  */
181    RMPA = 382,                    /* RMPA  */
182    ROLC = 383,                    /* ROLC  */
183    RORC = 384,                    /* RORC  */
184    ROTL = 385,                    /* ROTL  */
185    ROTR = 386,                    /* ROTR  */
186    ROUND = 387,                   /* ROUND  */
187    RSTR = 388,                    /* RSTR  */
188    RTE = 389,                     /* RTE  */
189    RTFI = 390,                    /* RTFI  */
190    RTS = 391,                     /* RTS  */
191    RTSD = 392,                    /* RTSD  */
192    SAT = 393,                     /* SAT  */
193    SATR = 394,                    /* SATR  */
194    SAVE = 395,                    /* SAVE  */
195    SBB = 396,                     /* SBB  */
196    SCCND = 397,                   /* SCCND  */
197    SCMPU = 398,                   /* SCMPU  */
198    SETPSW = 399,                  /* SETPSW  */
199    SHAR = 400,                    /* SHAR  */
200    SHLL = 401,                    /* SHLL  */
201    SHLR = 402,                    /* SHLR  */
202    SMOVB = 403,                   /* SMOVB  */
203    SMOVF = 404,                   /* SMOVF  */
204    SMOVU = 405,                   /* SMOVU  */
205    SSTR = 406,                    /* SSTR  */
206    STNZ = 407,                    /* STNZ  */
207    STOP = 408,                    /* STOP  */
208    STZ = 409,                     /* STZ  */
209    SUB = 410,                     /* SUB  */
210    SUNTIL = 411,                  /* SUNTIL  */
211    SWHILE = 412,                  /* SWHILE  */
212    TST = 413,                     /* TST  */
213    UTOD = 414,                    /* UTOD  */
214    UTOF = 415,                    /* UTOF  */
215    WAIT = 416,                    /* WAIT  */
216    XCHG = 417,                    /* XCHG  */
217    XOR = 418                      /* XOR  */
218  };
219  typedef enum yytokentype yytoken_kind_t;
220#endif
221/* Token kinds.  */
222#define YYEMPTY -2
223#define YYEOF 0
224#define YYerror 256
225#define YYUNDEF 257
226#define REG 258
227#define FLAG 259
228#define CREG 260
229#define ACC 261
230#define DREG 262
231#define DREGH 263
232#define DREGL 264
233#define DCREG 265
234#define EXPR 266
235#define UNKNOWN_OPCODE 267
236#define IS_OPCODE 268
237#define DOT_S 269
238#define DOT_B 270
239#define DOT_W 271
240#define DOT_L 272
241#define DOT_A 273
242#define DOT_UB 274
243#define DOT_UW 275
244#define DOT_D 276
245#define ABS 277
246#define ADC 278
247#define ADD 279
248#define AND_ 280
249#define BCLR 281
250#define BCND 282
251#define BFMOV 283
252#define BFMOVZ 284
253#define BMCND 285
254#define BNOT 286
255#define BRA 287
256#define BRK 288
257#define BSET 289
258#define BSR 290
259#define BTST 291
260#define CLRPSW 292
261#define CMP 293
262#define DABS 294
263#define DADD 295
264#define DBT 296
265#define DCMP 297
266#define DDIV 298
267#define DIV 299
268#define DIVU 300
269#define DMOV 301
270#define DMUL 302
271#define DNEG 303
272#define DPOPM 304
273#define DPUSHM 305
274#define DROUND 306
275#define DSQRT 307
276#define DSUB 308
277#define DTOF 309
278#define DTOI 310
279#define DTOU 311
280#define EDIV 312
281#define EDIVU 313
282#define EMACA 314
283#define EMSBA 315
284#define EMUL 316
285#define EMULA 317
286#define EMULU 318
287#define FADD 319
288#define FCMP 320
289#define FDIV 321
290#define FMUL 322
291#define FREIT 323
292#define FSUB 324
293#define FSQRT 325
294#define FTOD 326
295#define FTOI 327
296#define FTOU 328
297#define INT 329
298#define ITOD 330
299#define ITOF 331
300#define JMP 332
301#define JSR 333
302#define MACHI 334
303#define MACLH 335
304#define MACLO 336
305#define MAX 337
306#define MIN 338
307#define MOV 339
308#define MOVCO 340
309#define MOVLI 341
310#define MOVU 342
311#define MSBHI 343
312#define MSBLH 344
313#define MSBLO 345
314#define MUL 346
315#define MULHI 347
316#define MULLH 348
317#define MULLO 349
318#define MULU 350
319#define MVFACHI 351
320#define MVFACGU 352
321#define MVFACMI 353
322#define MVFACLO 354
323#define MVFC 355
324#define MVFDC 356
325#define MVFDR 357
326#define MVTACGU 358
327#define MVTACHI 359
328#define MVTACLO 360
329#define MVTC 361
330#define MVTDC 362
331#define MVTIPL 363
332#define NEG 364
333#define NOP 365
334#define NOT 366
335#define OR 367
336#define POP 368
337#define POPC 369
338#define POPM 370
339#define PUSH 371
340#define PUSHA 372
341#define PUSHC 373
342#define PUSHM 374
343#define RACL 375
344#define RACW 376
345#define RDACL 377
346#define RDACW 378
347#define REIT 379
348#define REVL 380
349#define REVW 381
350#define RMPA 382
351#define ROLC 383
352#define RORC 384
353#define ROTL 385
354#define ROTR 386
355#define ROUND 387
356#define RSTR 388
357#define RTE 389
358#define RTFI 390
359#define RTS 391
360#define RTSD 392
361#define SAT 393
362#define SATR 394
363#define SAVE 395
364#define SBB 396
365#define SCCND 397
366#define SCMPU 398
367#define SETPSW 399
368#define SHAR 400
369#define SHLL 401
370#define SHLR 402
371#define SMOVB 403
372#define SMOVF 404
373#define SMOVU 405
374#define SSTR 406
375#define STNZ 407
376#define STOP 408
377#define STZ 409
378#define SUB 410
379#define SUNTIL 411
380#define SWHILE 412
381#define TST 413
382#define UTOD 414
383#define UTOF 415
384#define WAIT 416
385#define XCHG 417
386#define XOR 418
387
388/* Value type.  */
389#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
390union YYSTYPE
391{
392#line 140 "./config/rx-parse.y"
393
394  int regno;
395  expressionS exp;
396
397#line 398 "config/rx-parse.h"
398
399};
400typedef union YYSTYPE YYSTYPE;
401# define YYSTYPE_IS_TRIVIAL 1
402# define YYSTYPE_IS_DECLARED 1
403#endif
404
405
406extern YYSTYPE rx_lval;
407
408
409int rx_parse (void);
410
411
412#endif /* !YY_RX_CONFIG_RX_PARSE_H_INCLUDED  */
413