/*
- * Copyright (c) 1982 Regents of the University of California
- * @(#)instrs.h 4.3 %G%
+ * Copyright (c) 1982 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ * @(#)instrs.h 5.1 (Berkeley) %G%
*/
+
/*
* Argument data types
*
#define ACCW (2<<TYPLG) /* write */
#define ACCB (4<<TYPLG) /* branch displacement */
#define ACCA (8<<TYPLG) /* address only */
+#define ACCV (8<<TYPLG) /* address only */
#define ACCM (ACCR | ACCW) /* modify */
#define ACCI (ACCB | ACCR) /* XFC code */
* easy to use and read.
*/
/*
- * For address
+ * For real memory address
*/
#define A_AB A_CONS(ACCA, TYPB)
#define A_AW A_CONS(ACCA, TYPW)
#define A_AD A_CONS(ACCA, TYPD)
#define A_AG A_CONS(ACCA, TYPG)
#define A_AH A_CONS(ACCA, TYPH)
+/*
+ * For real memory addresses, or register addresses [sic]
+ *
+ * CHEAT! we just call these read access, since
+ * registers are allowed. All field instruction, except insv,
+ * are are read access fields.
+ */
+#define A_VB A_CONS(ACCR, TYPB)
+#define A_VW A_CONS(ACCR, TYPW)
+#define A_VL A_CONS(ACCR, TYPL)
+#define A_VQ A_CONS(ACCR, TYPQ)
+#define A_VO A_CONS(ACCR, TYPO)
+#define A_VF A_CONS(ACCR, TYPF)
+#define A_VD A_CONS(ACCR, TYPD)
+#define A_VG A_CONS(ACCR, TYPG)
+#define A_VH A_CONS(ACCR, TYPH)
/*
* For branch displacement
*/