1*5484Slinton /* Copyright (c) 1982 Regents of the University of California */
2*5484Slinton 
3*5484Slinton static char sccsid[] = "@(#)optab.h 1.1 01/18/82";
4*5484Slinton 
5*5484Slinton /*
6*5484Slinton  * px opcode information structure
7*5484Slinton  */
8*5484Slinton 
9*5484Slinton #define MAXNARGS 10
10*5484Slinton 
11*5484Slinton /*
12*5484Slinton  * argument types
13*5484Slinton  */
14*5484Slinton 
15*5484Slinton typedef int ARGTYPE;
16*5484Slinton 
17*5484Slinton #define ADDR2	 1
18*5484Slinton #define ADDR4	 2
19*5484Slinton #define DISP	 3
20*5484Slinton #define PSUBOP	 5
21*5484Slinton #define SUBOP	 6
22*5484Slinton #define VLEN	 7
23*5484Slinton #define HWORD	 8
24*5484Slinton #define LWORD	 9
25*5484Slinton #define STRING	10
26*5484Slinton 
27*5484Slinton typedef struct {
28*5484Slinton 	char *opname;
29*5484Slinton 	ARGTYPE argtype[MAXNARGS];
30*5484Slinton } OPTAB;
31*5484Slinton 
32*5484Slinton OPTAB optab[];
33