1*22647Sdist /*
2*22647Sdist  * Copyright (c) 1980 Regents of the University of California.
3*22647Sdist  * All rights reserved.  The Berkeley software License Agreement
4*22647Sdist  * specifies the terms and conditions for redistribution.
5*22647Sdist  *
6*22647Sdist  *	@(#)optab.h	5.1 (Berkeley) 06/07/85
7*22647Sdist  */
85484Slinton 
95484Slinton /*
105484Slinton  * px opcode information structure
115484Slinton  */
125484Slinton 
135484Slinton #define MAXNARGS 10
145484Slinton 
155484Slinton /*
165484Slinton  * argument types
175484Slinton  */
185484Slinton 
195484Slinton typedef int ARGTYPE;
205484Slinton 
215484Slinton #define ADDR2	 1
225484Slinton #define ADDR4	 2
235484Slinton #define DISP	 3
245484Slinton #define PSUBOP	 5
255484Slinton #define SUBOP	 6
265484Slinton #define VLEN	 7
275484Slinton #define HWORD	 8
285484Slinton #define LWORD	 9
295484Slinton #define STRING	10
305484Slinton 
315484Slinton typedef struct {
325484Slinton 	char *opname;
335484Slinton 	ARGTYPE argtype[MAXNARGS];
345484Slinton } OPTAB;
355484Slinton 
365484Slinton OPTAB optab[];
37