Commit | Line | Data |
---|---|---|
505bf312 KB |
1 | /*- |
2 | * Copyright (c) 1980 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * %sccs.include.redist.c% | |
a3e21f40 | 6 | * |
505bf312 | 7 | * @(#)optab.h 5.2 (Berkeley) %G% |
a3e21f40 | 8 | */ |
3218f535 ML |
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[]; |