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