1987-03-09 19:15:41 +00:00
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
1994-06-24 14:02:31 +00:00
|
|
|
/* $Id$ */
|
1985-01-08 15:34:54 +00:00
|
|
|
|
|
|
|
struct result {
|
|
|
|
int e_typ; /* EV_INT,EV_REG,EV_STR */
|
|
|
|
union {
|
|
|
|
word e_con;
|
|
|
|
int e_reg;
|
2016-11-11 19:17:10 +00:00
|
|
|
address_t e_addr;
|
1985-01-08 15:34:54 +00:00
|
|
|
} e_v; /* value */
|
|
|
|
};
|
|
|
|
|
|
|
|
#define EV_UNDEF 0
|
|
|
|
#define EV_INT 1
|
|
|
|
#define EV_REG 2
|
|
|
|
#define EV_ADDR 3
|
|
|
|
|
|
|
|
typedef struct result result_t;
|
2017-11-13 17:44:17 +00:00
|
|
|
|
|
|
|
/* compute.c */
|
|
|
|
void compute(node_p, result_t *);
|