148101Sbostic /*- 2*62133Sbostic * Copyright (c) 1980, 1993 3*62133Sbostic * The Regents of the University of California. All rights reserved. 422647Sdist * 548101Sbostic * %sccs.include.redist.c% 648101Sbostic * 7*62133Sbostic * @(#)optab.h 8.1 (Berkeley) 06/06/93 822647Sdist */ 95484Slinton 105484Slinton /* 115484Slinton * px opcode information structure 125484Slinton */ 135484Slinton 145484Slinton #define MAXNARGS 10 155484Slinton 165484Slinton /* 175484Slinton * argument types 185484Slinton */ 195484Slinton 205484Slinton typedef int ARGTYPE; 215484Slinton 225484Slinton #define ADDR2 1 235484Slinton #define ADDR4 2 245484Slinton #define DISP 3 255484Slinton #define PSUBOP 5 265484Slinton #define SUBOP 6 275484Slinton #define VLEN 7 285484Slinton #define HWORD 8 295484Slinton #define LWORD 9 305484Slinton #define STRING 10 315484Slinton 325484Slinton typedef struct { 335484Slinton char *opname; 345484Slinton ARGTYPE argtype[MAXNARGS]; 355484Slinton } OPTAB; 365484Slinton 375484Slinton OPTAB optab[]; 38