/* * Copyright (c) 1980 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. * * @(#)optab.h 5.1 (Berkeley) 6/7/85 */ /* * 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[];