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