#ifndef poptab_h
#define poptab_h

/* Declare routines to process psuedo operation codes.
 *
 * $Log: poptab.h,v $
 * Revision 1.2  1997/06/02 02:54:03  david
 * Added #ifdef and #ifndef around file.
 *
 */

int db(), ds(), dw(), equ(), external(), aif(), ainclude(), macro(), org(),
   public(), setdp(), xpend();
    
struct poptype
   {
   char *opname; /* Psuedo Operation Name */
   int (*procaddr) (); /* Address (name) of applicable procedure */
   };
   
struct poptype poptab [] =
   {
   "db",      db,       /* Define Byte */
   "ds",      ds,       /* Reserve Data Storage */
   "dw",      dw,       /* Define Word */
   "end",     xpend,    /* Rename because of C 'end' variable */
   "equ",     equ,      /* Label = Value in operand */
   "extern",  external, /* Declare symbol external */
   "if",      aif,      /* Begin Conditional assembly */
   "include", ainclude, /* Include a file in the assembly */
   "macro",   macro,    /* Process macro definitions */
   "org",     org,      /* Origin */
   "public",  public,   /* Declare symbol public */
   "set",     equ,      /* Set Label = Value (No error for multiple 'SET's) */
   "setdp",   setdp,    /* Set DP (Direct Page) for assembler */
   NULL,  NULL
   };

#endif /* poptab_h */
