Commit | Line | Data |
---|---|---|
a3e21f40 DF |
1 | /* |
2 | * Copyright (c) 1980 Regents of the University of California. | |
3 | * All rights reserved. The Berkeley software License Agreement | |
4 | * specifies the terms and conditions for redistribution. | |
5 | * | |
6 | * @(#)optab.h 5.1 (Berkeley) %G% | |
7 | */ | |
3218f535 ML |
8 | |
9 | /* | |
10 | * px opcode information structure | |
11 | */ | |
12 | ||
13 | #define MAXNARGS 10 | |
14 | ||
15 | /* | |
16 | * argument types | |
17 | */ | |
18 | ||
19 | typedef int ARGTYPE; | |
20 | ||
21 | #define ADDR2 1 | |
22 | #define ADDR4 2 | |
23 | #define DISP 3 | |
24 | #define PSUBOP 5 | |
25 | #define SUBOP 6 | |
26 | #define VLEN 7 | |
27 | #define HWORD 8 | |
28 | #define LWORD 9 | |
29 | #define STRING 10 | |
30 | ||
31 | typedef struct { | |
32 | char *opname; | |
33 | ARGTYPE argtype[MAXNARGS]; | |
34 | } OPTAB; | |
35 | ||
36 | OPTAB optab[]; |