ad5f1714d70b1b39c5ed0e800545b4e2b47c8e92
[fw/sdcc] / as / hc08 / asm.h
1 /* asm.h */
2
3 /*
4  * (C) Copyright 1989-1995
5  * All Rights Reserved
6  *
7  * Alan R. Baldwin
8  * 721 Berkeley St.
9  * Kent, Ohio  44240
10  *
11  * 28-Oct-97 JLH: 
12  *           - add proto for StoreString
13  *           - change s_id from [NCPS] to pointer
14  *           - change m_id from [NCPS] to pointer
15  *           - change NCPS to 80
16  *           - case sensitive
17  *           - add R_J11 for 8051 assembler
18  *           - add outr11 prototype for 8051 assembler
19  *           - always define "ccase"
20  *  2-Nov-97 JLH:
21  *           - add jflag for debug control
22  *           - prototypes for DefineNoICE_Line
23  * 30-Jan-98 JLH:
24  *           - add memory space flags to a_flag for 8051
25  *
26  *  3-Feb-00 KV:
27  *           - add DS80C390 flat mode support.
28  */
29
30 #define VERSION "V01.70 + NoICE + SDCC mods + Flat24 Feb-1999"
31
32 #if !defined(__BORLANDC__) && !defined(_MSC_VER)
33 #include <unistd.h>
34 #endif
35
36 /*
37  * Case Sensitivity Flag
38  */
39 #define CASE_SENSITIVE  1
40
41 /*)Module       asm.h
42  *
43  *      The module asm.h contains the definitions for constants,
44  *      structures, global variables, and ASxxxx functions
45  *      contained in the ASxxxx.c files.  The two functions
46  *      and three global variables from the machine dependent
47  *      files are also defined.
48  */
49
50 /*
51  *       compiler/operating system specific definitions
52  */
53
54 /* DECUS C void definition */
55 /* File/extension seperator */
56
57 #ifdef  decus
58 #define VOID    char
59 #define FSEPX   '.'
60 #endif
61
62 /* PDOS C void definition */
63 /* File/extension seperator */
64
65 #ifdef  PDOS
66 #define VOID    char
67 #define FSEPX   ':'
68 #endif
69
70 /* Default void definition */
71 /* File/extension seperator */
72
73 #ifndef VOID
74 #define VOID    void
75 #define FSEPX   '.'
76 #define OTHERSYSTEM
77 #endif
78
79 /*
80  * PATH_MAX
81  */
82 #include <limits.h>
83 #ifndef PATH_MAX                /* POSIX, but not required   */
84 #if defined(_MSC_VER) || defined(__BORLANDC__)  /* Microsoft C or Borland C*/
85 #include <stdlib.h>
86 #define PATH_MAX        _MAX_PATH
87 #else
88 #define PATH_MAX                /* define a reasonable value */
89 #endif
90 #endif
91
92 /*
93  * Assembler definitions.
94  */
95 #define LFTERM  '('             /* Left expression delimeter */
96 #define RTTERM  ')'             /* Right expression delimeter */
97
98 #define NCPS    80              /* Chars. per symbol (JLH: change from 8) */
99 #define HUGE    1000            /* A huge number */
100 #define NERR    3               /* Errors per line */
101 #define NINPUT  1024            /* Input buffer size (icodes need space) */
102 #define NCODE   128             /* Listing code buffer size */
103 #define NTITL   64              /* Title buffer size */
104 #define NSBTL   64              /* SubTitle buffer size */
105 #define NHASH   64              /* Buckets in hash table */
106 #define HMASK   077             /* Hash mask */
107 #define NLPP    60              /* Lines per page */
108 #define MAXFIL  6               /* Maximum command line input files */
109 #define MAXINC  6               /* Maximum nesting of include files */
110 #define MAXIF   10              /* Maximum nesting of if/else/endif */
111
112 #define NLIST   0               /* No listing */
113 #define SLIST   1               /* Source only */
114 #define ALIST   2               /* Address only */
115 #define BLIST   3               /* Address only with allocation */
116 #define CLIST   4               /* Code */
117 #define ELIST   5               /* Equate only */
118
119 #define dot     sym[0]          /* Dot, current loc */
120 #define dca     area[0]         /* Dca, default code area */
121
122
123 /* NB: for Flat24 extentions to work, Addr_T must be at least 24
124  * bits. This is checked at runtime when the .flat24 directive 
125  * is processed.
126  */
127 typedef unsigned int Addr_T;
128
129 /*
130  *      The area structure contains the parameter values for a
131  *      specific program or data section.  The area structure
132  *      is a linked list of areas.  The initial default area
133  *      is "_CODE" defined in asdata.c, the next area structure
134  *      will be linked to this structure through the structure
135  *      element 'struct area *a_ap'.  The structure contains the
136  *      area name, area reference number ("_CODE" is 0) determined
137  *      by the order of .area directives, area size determined
138  *      from the total code and/or data in an area, area fuzz is
139  *      a variable used to track pass to pass changes in the
140  *      area size caused by variable length instruction formats,
141  *      and area flags which specify the area's relocation type.
142  */
143 struct  area
144 {
145         struct  area *a_ap;     /* Area link */
146         char    a_id[NCPS];     /* Area Name */
147         int     a_ref;          /* Ref. number */
148         Addr_T  a_size;         /* Area size */
149         Addr_T  a_fuzz;         /* Area fuzz */
150         int     a_flag;         /* Area flags */
151 };
152
153 /*
154  *      The "A_" area constants define values used in
155  *      generating the assembler area output data.
156  *
157  * Area flags
158  *
159  *         7     6      5    4     3     2     1     0
160  *      +-----+-----+-----+-----+-----+-----+-----+-----+
161  *      | BIT |XDATA|DATA | PAG | ABS | OVR |     |     |
162  *      +-----+-----+-----+-----+-----+-----+-----+-----+
163  */
164
165 #define A_CON   0000            /* Concatenating */
166 #define A_OVR   0004            /* Overlaying */
167 #define A_REL   0000            /* Relocatable */
168 #define A_ABS   0010            /* absolute */
169 #define A_NOPAG 0000            /* Non-Paged */
170 #define A_PAG   0020            /* Paged */
171
172 /* Additional flags for 8051 address spaces */
173 #define A_DATA  0000            /* data space (default)*/
174 #define A_CODE  0040            /* code space */
175 #define A_XDATA 0100            /* external data space */
176 #define A_BIT   0200            /* bit addressable space */
177
178 #define A_NOLOAD  0400          /* nonloadable */
179 #define A_LOAD  0000            /* loadable (default) */
180
181 /*
182  *      The "R_" relocation constants define values used in
183  *      generating the assembler relocation output data for
184  *      areas, symbols, and code.
185  *
186  * Relocation flags
187  *
188  *         7     6     5     4     3     2     1     0
189  *      +-----+-----+-----+-----+-----+-----+-----+-----+
190  *      | MSB | PAGn| PAG0| USGN| BYT2| PCR | SYM | BYT |
191  *      +-----+-----+-----+-----+-----+-----+-----+-----+
192  */
193
194 #define R_WORD  0x00            /* 16 bit */
195 #define R_BYTE  0x01            /*  8 bit */
196
197 #define R_AREA  0x00            /* Base type */
198 #define R_SYM   0x02
199
200 #define R_NORM  0x00            /* PC adjust */
201 #define R_PCR   0x04
202
203 #define R_BYT1  0x00            /* Byte count for R_BYTE = 1 */
204 #define R_BYT2  0x08            /* Byte count for R_BYTE = 2 */
205
206 #define R_SGND  0x00            /* Signed Byte */
207 #define R_USGN  0x10            /* Unsigned Byte */
208
209 #define R_NOPAG 0x00            /* Page Mode */
210 #define R_PAG0  0x20            /* Page '0' */
211 #define R_PAG   0x40            /* Page 'nnn' */
212
213 #define R_LSB   0x00            /* low byte */
214 #define R_MSB   0x80            /* high byte */
215
216 #define R_BYT3  0x100           /* if R_BYTE is set, this is a 
217                                  * 3 byte address, of which
218                                  * the linker must select one byte.
219                                  */
220 #define R_HIB   0x200           /* If R_BYTE & R_BYT3 are set, linker
221                                  * will select byte 3 of the relocated
222                                  * 24 bit address.
223                                  */
224
225 #define R_J11   (R_WORD|R_BYT2) /* JLH: 11 bit JMP and CALL (8051) */
226 #define R_J19   (R_WORD|R_BYT2|R_MSB) /* 19 bit JMP/CALL (DS80C390) */
227 #define R_C24   (R_WORD|R_BYT1|R_MSB) /* 24 bit address (DS80C390) */
228 #define R_J19_MASK (R_BYTE|R_BYT2|R_MSB)
229
230 #define IS_R_J19(x) (((x) & R_J19_MASK) == R_J19)
231 #define IS_R_J11(x) (((x) & R_J19_MASK) == R_J11)
232 #define IS_C24(x) (((x) & R_J19_MASK) == R_C24)
233
234 #define R_ESCAPE_MASK   0xf0    /* Used to escape relocation modes
235                                  * greater than 0xff in the .rel
236                                  * file.
237                                  */
238
239 /*
240  * Listing Control Flags
241  */
242
243 #define R_HIGH  0040000         /* High Byte */
244 #define R_RELOC 0100000         /* Relocation */
245
246 #define R_DEF   00              /* Global def. */
247 #define R_REF   01              /* Global ref. */
248 #define R_REL   00              /* Relocatable */
249 #define R_ABS   02              /* Absolute */
250 #define R_GBL   00              /* Global */
251 #define R_LCL   04              /* Local */
252
253 /*
254  *      The mne structure is a linked list of the assembler
255  *      mnemonics and directives.  The list of mnemonics and
256  *      directives contained in the device dependent file
257  *      xxxpst.c are hashed and linked into NHASH lists in
258  *      module assym.c by syminit().  The structure contains
259  *      the mnemonic/directive name, a subtype which directs
260  *      the evaluation of this mnemonic/directive, a flag which
261  *      is used to detect the end of the mnemonic/directive
262  *      list in xxxpst.c, and a value which is normally
263  *      associated with the assembler mnemonic base instruction
264  *      value.
265  */
266 struct  mne
267 {
268         struct  mne *m_mp;      /* Hash link */
269         char    *m_id;          /* Mnemonic JLH: change from [NCPS] */
270         char    m_type;         /* Mnemonic subtype */
271         char    m_flag;         /* Mnemonic flags */
272         Addr_T  m_valu;         /* Value */
273 };
274
275 /*
276  *      The sym structure is a linked list of symbols defined
277  *      in the assembler source files.  The first symbol is "."
278  *      defined in asdata.c.  The entry 'struct tsym *s_tsym'
279  *      links any temporary symbols following this symbol and
280  *      preceeding the next normal symbol.  The structure also
281  *      contains the symbol's name, type (USER or NEW), flag
282  *      (global, assigned, and multiply defined), a pointer
283  *      to the area structure defining where the symbol is
284  *      located, a reference number assigned by outgsd() in
285  *      asout.c, and the symbols address relative to the base
286  *      address of the area where the symbol is located.
287  */
288 struct  sym
289 {
290         struct  sym  *s_sp;     /* Hash link */
291         struct  tsym *s_tsym;   /* Temporary symbol link */
292         char    *s_id;          /* Symbol: JLH change from [NCPS] */
293         char    s_type;         /* Symbol subtype */
294         char    s_flag;         /* Symbol flags */
295         struct  area *s_area;   /* Area line, 0 if absolute */
296         int     s_ref;          /* Ref. number */
297         Addr_T  s_addr;         /* Address */
298 };
299
300 #define S_GBL           01      /* Global */
301 #define S_ASG           02      /* Assigned */
302 #define S_MDF           04      /* Mult. def */
303 #define S_END           010     /* End mark for pst. */
304
305 #define S_NEW           0       /* New name */
306 #define S_USER          1       /* User name */
307                                 /* unused slot */
308                                 /* unused slot */
309                                 /* unused slot */
310
311 #define S_BYTE          5       /* .byte */
312 #define S_WORD          6       /* .word */
313 #define S_ASCII         7       /* .ascii */
314 #define S_ASCIZ         8       /* .asciz */
315 #define S_BLK           9       /* .blkb or .blkw */
316 #define S_INCL          10      /* .include */
317 #define S_DAREA         11      /* .area */
318 #define S_ATYP          12      /* .area type */
319 #define S_AREA          13      /* .area name */
320 #define S_GLOBL         14      /* .globl */
321 #define S_PAGE          15      /* .page */
322 #define S_TITLE         16      /* .title */
323 #define S_SBTL          17      /* .sbttl */
324 #define S_IF            18      /* .if */
325 #define S_ELSE          19      /* .else */
326 #define S_ENDIF         20      /* .endif */
327 #define S_EVEN          21      /* .even */
328 #define S_ODD           22      /* .odd */
329 #define S_RADIX         23      /* .radix */
330 #define S_ORG           24      /* .org */
331 #define S_MODUL         25      /* .module */
332 #define S_ASCIS         26      /* .ascis */
333 #define S_FLAT24        27  /* .flat24 */
334 #define S_OPTSDCC       28  /* .optsdcc */
335 #define S_ULEB128       29      /* .uleb128 */
336 #define S_SLEB128       30      /* .sleb128 */
337
338 /*
339  *      The tsym structure is a linked list of temporary
340  *      symbols defined in the assembler source files following
341  *      a normal symbol.  The structure contains the temporary
342  *      symbols number, a flag (multiply defined), a pointer to the
343  *      area structure defining where the temporary structure
344  *      is located, and the temporary symbol's address relative
345  *      to the base address of the area where the symbol
346  *      is located.
347  */
348 struct  tsym
349 {
350         struct  tsym *t_lnk;    /* Link to next */
351 /* sandeep changed to 'int' from 'char' */
352 /* this will increase the number temp symbols
353    that can be defined from 255 to INT_MAX */
354         int t_num;              /* 0-INT_MAX$ */
355         int t_flg;              /* flags */
356
357         struct  area *t_area;   /* Area */
358         Addr_T  t_addr;         /* Address */
359 };
360
361 /*
362  *      External Definitions for all Global Variables
363  */
364
365 extern  int     aserr;          /*      ASxxxx error counter
366                                  */
367 extern  jmp_buf jump_env;       /*      compiler dependent structure
368                                  *      used by setjmp() and longjmp()
369                                  */
370 extern  int     inpfil;         /*      count of assembler
371                                  *      input files specified
372                                  */
373 extern  int     incfil;         /*      current file handle index
374                                  *      for include files
375                                  */
376 extern  int     cfile;          /*      current file handle index
377                                  *      of input assembly files
378                                  */
379 extern  int     flevel;         /*      IF-ELSE-ENDIF flag will be non
380                                  *      zero for false conditional case
381                                  */
382 extern  int     tlevel;         /*      current conditional level
383                                  */
384 extern  int     ifcnd[MAXIF+1]; /*      array of IF statement condition
385                                  *      values (0 = FALSE) indexed by tlevel
386                                  */
387 extern  int     iflvl[MAXIF+1]; /*      array of IF-ELSE-ENDIF flevel
388                                  *      values indexed by tlevel
389                                  */
390 extern  char
391         afn[PATH_MAX];          /*      afile() temporary filespec
392                                  */
393 extern  char
394         srcfn[MAXFIL][PATH_MAX];        /*      array of source file names
395                                  */
396 extern  int
397         srcline[MAXFIL];        /*      current source file line
398                                  */
399 extern  char
400         incfn[MAXINC][PATH_MAX];        /*      array of include file names
401                                  */
402 extern  int
403         incline[MAXINC];        /*      current include file line
404                                  */
405 extern  int     radix;          /*      current number conversion radix:
406                                  *      2 (binary), 8 (octal), 10 (decimal),
407                                  *      16 (hexadecimal)
408                                  */
409 extern  int     line;           /*      current assembler source
410                                  *      line number
411                                  */
412 extern  int     page;           /*      current page number
413                                  */
414 extern  int     lop;            /*      current line number on page
415                                  */
416 extern  int     pass;           /*      assembler pass number
417                                  */
418 extern  int     lflag;          /*      -l, generate listing flag
419                                  */
420 extern  int     cflag;          /*      -c, generate sdcdb debug information
421                                  */
422 extern  int     gflag;          /*      -g, make undefined symbols global flag
423                                  */
424 extern  int     aflag;          /*      -a, make all symbols global flag
425                                  */
426 extern  int     jflag;          /*      -j, generate debug information flag
427                                  */
428 extern  int     oflag;          /*      -o, generate relocatable output flag
429                                  */
430 extern  int     sflag;          /*      -s, generate symbol table flag
431                                  */
432 extern  int     pflag;          /*      -p, enable listing pagination
433                                  */
434 extern  int     xflag;          /*      -x, listing radix flag
435                                  */
436 extern  int     fflag;          /*      -f(f), relocations flagged flag
437                                  */
438 extern  Addr_T  laddr;          /*      address of current assembler line
439                                  *      or value of .if argument
440                                  */
441 extern  Addr_T  fuzz;           /*      tracks pass to pass changes in the
442                                  *      address of symbols caused by
443                                  *      variable length instruction formats
444                                  */
445 extern  int     lmode;          /*      listing mode
446                                  */
447 extern  struct  area    area[]; /*      array of 1 area
448                                  */
449 extern  struct  area *areap;    /*      pointer to an area structure
450                                  */
451 extern  struct  sym     sym[];  /*      array of 1 symbol
452                                  */
453 extern  struct  sym *symp;      /*      pointer to a symbol structure
454                                  */
455 extern  struct  sym *symhash[NHASH]; /* array of pointers to NHASH
456                                       * linked symbol lists
457                                       */
458 extern  struct  mne *mnehash[NHASH]; /* array of pointers to NHASH
459                                       * linked mnemonic/directive lists
460                                       */
461 extern  char    *ep;            /*      pointer into error list
462                                  *      array eb[NERR]
463                                  */
464 extern  char    eb[NERR];       /*      array of generated error codes
465                                  */
466 extern  char    *ip;            /*      pointer into the assembler-source
467                                  *      text line in ib[]
468                                  */
469 extern  char    ib[NINPUT];     /*      assembler-source text line
470                                  */
471 extern  char    *cp;            /*      pointer to assembler output
472                                  *      array cb[]
473                                  */
474 extern  char    cb[NCODE];      /*      array of assembler output values
475                                  */
476 extern  int     *cpt;           /*      pointer to assembler relocation type
477                                  *      output array cbt[]
478                                  */
479 extern  int     cbt[NCODE];     /*      array of assembler relocation types
480                                  *      describing the data in cb[]
481                                  */
482 extern  char    tb[NTITL];      /*      Title string buffer
483                                  */
484 extern  char    stb[NSBTL];     /*      Subtitle string buffer
485                                  */
486 extern  char    optsdcc[NINPUT];        /*      sdcc compile options 
487                          */
488 extern  int     flat24Mode;     /*      non-zero if we are using DS390 24 bit 
489                                  *      flat mode (via .flat24 directive). 
490                                  */
491 extern  char    symtbl[];       /*      string "Symbol Table"
492                                  */
493 extern  char    aretbl[];       /*      string "Area Table"
494                                  */
495 extern  char    module[NCPS];   /*      module name string
496                                  */
497 extern  FILE    *lfp;           /*      list output file handle
498                                  */
499 extern  FILE    *ofp;           /*      relocation output file handle
500                                  */
501 extern  FILE    *tfp;           /*      symbol table output file handle
502                                  */
503 extern  FILE    *sfp[MAXFIL];   /*      array of assembler-source file handles
504                                  */
505 extern  FILE    *ifp[MAXINC];   /*      array of include-file file handles
506                                  */
507 extern  unsigned char   ctype[128];     /*      array of character types, one per
508                                  *      ASCII character
509                                  */
510
511 extern  char    ccase[128];     /* an array of characters which 
512                                  * perform the case translation function
513                                  */
514 /*
515  * Definitions for Character Types
516  */
517 #define SPACE   0000
518 #define ETC     0000
519 #define LETTER  0001
520 #define DIGIT   0002
521 #define BINOP   0004
522 #define RAD2    0010
523 #define RAD8    0020
524 #define RAD10   0040
525 #define RAD16   0100
526 #define ILL     0200
527
528 #define DGT2    DIGIT|RAD16|RAD10|RAD8|RAD2
529 #define DGT8    DIGIT|RAD16|RAD10|RAD8
530 #define DGT10   DIGIT|RAD16|RAD10
531 #define LTR16   LETTER|RAD16
532
533 /*
534  *      The exp structure is used to return the evaluation
535  *      of an expression.  The structure supports three valid
536  *      cases:
537  *      (1)     The expression evaluates to a constant,
538  *              mode = S_USER, flag = 0, addr contains the
539  *              constant, and base = NULL.
540  *      (2)     The expression evaluates to a defined symbol
541  *              plus or minus a constant, mode = S_USER,
542  *              flag = 0, addr contains the constant, and
543  *              base = pointer to area symbol.
544  *      (3)     The expression evaluates to a external
545  *              global symbol plus or minus a constant,
546  *              mode = S_NEW, flag = 1, addr contains the
547  *              constant, and base = pointer to symbol.
548  */
549 struct  expr
550 {
551         char    e_mode;         /* Address mode */
552         char    e_flag;         /* Symbol flag */
553         Addr_T  e_addr;         /* Address */
554         union   {
555                 struct area *e_ap;
556                 struct sym  *e_sp;
557         } e_base;               /* Rel. base */
558         int     e_rlcf;         /* Rel. flags */
559 };
560
561 /* C Library functions */
562 /* for reference only
563 extern  VOID            exit();
564 extern  int             fclose();
565 extern  char *          fgets();
566 extern  FILE *          fopen();
567 extern  int             fprintf();
568 extern  VOID            longjmp();
569 extern  VOID *          malloc();
570 extern  int             printf();
571 extern  char            putc();
572 extern  int             rewind();
573 extern  int             setjmp();
574 extern  int             strcmp();
575 extern  char *          strcpy();
576 extern  int             strlen();
577 extern  char *          strncpy();
578 */
579
580 /* Machine independent functions */
581
582 /* asmain.c */
583 extern  FILE *          afile();
584 extern  VOID            asexit();
585 extern  VOID            asmbl();
586 extern  int             main();
587 extern  VOID            newdot();
588 extern  VOID            phase();
589 extern  VOID            usage();
590
591 /* aslex.c */
592 extern  char            endline();
593 extern  char            get();
594 extern  VOID            getid();
595 extern  int             as_getline();
596 extern  int             getmap();
597 extern  char            getnb();
598 extern  VOID            getst();
599 extern  int             more();
600 extern  VOID            unget();
601 extern  VOID            chop_crlf();
602
603 /* assym.c */
604 extern  struct  area *  alookup();
605 extern  struct  mne *   mlookup();
606 extern  int             hash();
607 extern  struct  sym *   lookup();
608 extern  VOID *          new();
609 extern  int             symeq();
610 extern  VOID            syminit();
611 extern  VOID            symglob();
612 extern  VOID            allglob();
613
614 /* assubr.c */
615 extern  VOID            aerr();
616 extern  VOID            diag();
617 extern  VOID            err();
618 extern  VOID            warnBanner(void);
619 extern  char *          geterr();
620 extern  VOID            qerr();
621 extern  VOID            rerr();
622
623 /* asexpr.c */
624 extern  VOID            abscheck();
625 extern  Addr_T          absexpr();
626 extern  VOID            clrexpr();
627 extern  int             digit();
628 extern  int             is_abs();
629 extern  VOID            expr();
630 extern  int             oprio();
631 extern  VOID            term();
632
633 /* aslist.c */
634 extern  VOID            list();
635 extern  VOID            list1();
636 extern  VOID            list2();
637 extern  VOID            lstsym();
638 extern  VOID            slew();
639
640 /* asout.c */
641 extern  int             hibyte();
642 extern  int             lobyte();
643 extern  int             byte3(int);
644 extern  VOID            out();
645 extern  VOID            outab();
646 extern  VOID            outarea();
647 extern  VOID            outaw();
648 extern  VOID            outall();
649 extern  VOID            outdot();
650 extern  VOID            outbuf();
651 extern  VOID            outchk();
652 extern  VOID            outgsd();
653 extern  VOID            outrb();
654 extern  VOID            outrw(struct expr *, int);
655 extern  VOID            outr24(struct expr *, int);
656 extern  VOID            outsym();
657 extern  VOID            out_lb();
658 extern  VOID            out_lw();
659 extern  VOID            out_l24(int, int);
660 extern  VOID            out_rw();
661 extern  VOID            out_tw();
662 extern  VOID            out_t24(int);
663 extern  VOID            outr11();       /* JLH */
664 extern  VOID            outr19(struct expr *, int, int);
665 extern  VOID            outdp(struct area *, struct expr *);
666
667 /* asstore.c */
668 extern char *StoreString( char *str );
669
670 /* asnoice.c */
671 extern void DefineNoICE_Line();
672 extern void DefineCDB_Line();
673
674 /* Machine dependent variables */
675
676 extern  char *          cpu;
677 extern  char *          dsft;
678 extern  int             hilo;
679 extern  struct  mne     mne[];
680
681 /* Machine dependent functions */
682
683 extern  VOID            minit();
684 extern VOID machine(struct mne *);