date and time created 91/04/16 14:59:08 by bostic
[unix-history] / usr / src / usr.bin / pascal / pdx / machine / optab.h
CommitLineData
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
19typedef 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
31typedef struct {
32 char *opname;
33 ARGTYPE argtype[MAXNARGS];
34} OPTAB;
35
36OPTAB optab[];