Pristine Ack-5.5
[Ack-5.5.git] / mach / proto / ncg / result.h
1 /*
2  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  */
5 /* $Id: result.h,v 0.4 1994/06/24 13:28:02 ceriel Exp $ */
6
7 struct result {
8         int     e_typ;          /* EV_INT,EV_REG,EV_STR */
9         union {
10                 word e_con;
11                 int e_reg;
12                 addr_t e_addr;
13         } e_v;                  /* value */
14 };
15
16 #define EV_UNDEF 0
17 #define EV_INT  1
18 #define EV_REG  2
19 #define EV_ADDR 3
20
21 typedef struct result result_t;