#

#include "style.h"
#include <stdio.h>

/*
 *	globals.h: global definitions, types, and variables
 *
 *	@(#)globals.h	1.7
 */

TYPE	/* types */

#define	COMMAND	int

CONST	/* constants */

	/*	COMMAND constants 	*/

#define NOCMD	0
#define QUIT	1
#define HELP	2
#define	LOOK	3		/* look at physical memory */
#define	TEXT	4		/* look at text */
#define DATA	5		/* look at data */
#define	STACK	6		/* look at stack */
#define	REG	7		/* look at registers */
#define MODE	8		/* set modes */
#define	NL	9		/* newline */
#define LABEL	10		/* label display */
#define BACK	11		/* back up step */
#define DOT	12		/* print dot */
#define NAME	13		/* print name */
#define	DISPLAY	14		/* another display please */
#define EQUAL	15		/* print out value of DOT */
#define PPT	16		/* look at PPT (formatted) */
#define SIGNAL	17		/* look at signal queue */
#define	SHELL	18		/* run inferior shell */
#define TABLE	19		/* for displaying table entries */
#define NEXT	20		/* for displaying next table entry */
#define PREV	21		/* for displaying prev table entry */




	/*	addressing modes	*/

#define	OCTAL	0
#define	HEX	1
#define	DECIMAL	2
#define	BYTE	3
#define	CHAR	4


	/*	lengths		*/

#define MAXFILELENGTH	128
#define MAXLINELENGTH	128

	/*	characters	*/

#define eoln	'\n'
#define eos	'\0'
#define tab	'\t'
#define blank	' '
#define comma	','
#define dot	'.'
#define exclaim	'!'



VAR	/* variables 	*/

	COMMAND	command;

	integer	mode;
	integer step;
	long	addr;
	long	dsplysz;

	char	*symbol;

	FILE	*o_dump;
	FILE	*o_aout;
	FILE	*o_alst;
