1 /*- 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)optab.h 8.1 (Berkeley) 06/06/93 8 */ 9 10 /* 11 * px opcode information structure 12 */ 13 14 #define MAXNARGS 10 15 16 /* 17 * argument types 18 */ 19 20 typedef int ARGTYPE; 21 22 #define ADDR2 1 23 #define ADDR4 2 24 #define DISP 3 25 #define PSUBOP 5 26 #define SUBOP 6 27 #define VLEN 7 28 #define HWORD 8 29 #define LWORD 9 30 #define STRING 10 31 32 typedef struct { 33 char *opname; 34 ARGTYPE argtype[MAXNARGS]; 35 } OPTAB; 36 37 OPTAB optab[]; 38