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".
5 /* $Id: instruct.h,v 0.3 1994/06/24 10:37:29 ceriel Exp $ */
11 #define AD_RO 01 /* Read only operand */
12 #define AD_WO 02 /* Write only operand */
13 #define AD_RW 03 /* Read-write operand */
14 #define AD_RWMASK 03 /* Mask to select these possiblities */
16 #define AD_CC 04 /* Condition codes set to this one */
18 typedef struct operand {
19 struct operand *o_next;
24 typedef struct instruction {
29 struct varinfo *i_erases;
33 extern instr_t l_instr[];
36 * The read only information on the operands is not used at the moment.
37 * Predicted future use:
38 * When using :ro data it is possible to use a register in its stead
39 * if it contains the same information and is allowed as an operand
40 * in this place. Too difficult for now.