/* $Header:mode.h 12.0$ */
/* $ACIS:mode.h 12.0$ */
/* $Source: /ibm/acis/usr/src/bin/adb_ca/RCS/mode.h,v $ */

#if !defined(lint) && !defined(LOCORE)  && defined(RCS_HDRS)
static char *rcsidmode = "$Header:mode.h 12.0$";
#endif

/*      mode.h  4.2     81/05/14        */
#include "machine.h"
/*
 * sdb/adb - common definitions for old srb style code
 */
#define MAXCOM  64
#define MAXARG  32
#define LINSIZ  512
TYPE    long    ADDR;
TYPE    short   INT;
TYPE    int             VOID;
TYPE    long int        L_INT;
TYPE    float           REAL;
TYPE    double          L_REAL;
TYPE    unsigned        POS;
TYPE    char            BOOL;
TYPE    char            CHAR;
TYPE    char            *STRING;
TYPE    char            MSG[];
TYPE    struct map      MAP;
TYPE    MAP             *MAPPTR;
TYPE    struct bkpt     BKPT;
TYPE    BKPT            *BKPTR;
/* file address maps */
struct map {
        L_INT   b1;
        L_INT   e1;
        L_INT   f1;
        L_INT   b2;
        L_INT   e2;
        L_INT   f2;
        INT     ufd;
};
struct bkpt {
        ADDR    loc;
        ADDR    ins;
        INT     count;
        INT     initcnt;
        INT     flag;
        CHAR    comm[MAXCOM];
        BKPT    *nxtbkpt;
};
TYPE    struct reglist  REGLIST;
TYPE    REGLIST         *REGPTR;
enum	rinterp {ri_abs, ri_sym, ri_cc};	/* How to display regs */
struct reglist {
        STRING  rname;
        INT     roffs;
	enum rinterp rinterp;
        int     *rkern;
};
int  NumReglistElements;    /* Number of elements in the reglist array */
