result.h 415 B

123456789101112131415161718192021
  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$ */
  6. struct result {
  7. int e_typ; /* EV_INT,EV_REG,EV_STR */
  8. union {
  9. word e_con;
  10. int e_reg;
  11. addr_t e_addr;
  12. } e_v; /* value */
  13. };
  14. #define EV_UNDEF 0
  15. #define EV_INT 1
  16. #define EV_REG 2
  17. #define EV_ADDR 3
  18. typedef struct result result_t;