/*- * Copyright (c) 1980 The Regents of the University of California. * All rights reserved. * * %sccs.include.redist.c% * * @(#)optab.h 5.2 (Berkeley) 04/16/91 */ /* * px opcode information structure */ #define MAXNARGS 10 /* * argument types */ typedef int ARGTYPE; #define ADDR2 1 #define ADDR4 2 #define DISP 3 #define PSUBOP 5 #define SUBOP 6 #define VLEN 7 #define HWORD 8 #define LWORD 9 #define STRING 10 typedef struct { char *opname; ARGTYPE argtype[MAXNARGS]; } OPTAB; OPTAB optab[];