date and time created 88/03/30 14:46:07 by bostic
[unix-history] / usr / src / old / adb / adb.tahoe / optab.h
/* optab.h 1.1 86/02/25 */
/*
* Argument access types
*/
#define ACCA (8<<3) /* address only */
#define ACCR (1<<3) /* read */
#define ACCW (2<<3) /* write */
#define ACCM (3<<3) /* modify */
#define ACCB (4<<3) /* branch displacement */
#define ACCI (5<<3) /* XFC code */
/*
* Argument data types
*/
#define TYPB 0 /* byte */
#define TYPW 1 /* word */
#define TYPL 2 /* long */
#define TYPQ 3 /* quad */
#define TYPF 4 /* float */
#define TYPD 5 /* double */
TYPE struct optab *OPTAB;
struct optab {
char *iname;
char val;
char nargs;
char argtype[6];
} optab[];
#define SYSSIZ 151
STRING systab[];
STRING regname[];