Added note explaining the format of register field definitions in pdp11_register.h.
[pdp11-memory-test] / pdp11_register.h
index b5a8e79..1ea9881 100644 (file)
  * =============================================================================
  */
 
  * =============================================================================
  */
 
+/*
+ * These take the form of a 'width' and 'offset'.  For example, if a field is 3
+ * bits wide, occupying bits 3-5 (starting from 0), then it would be defined as
+ * (07),(3).
+ */
+
 #define MMR0_AB_NONRES (01),(15)
 #define MMR0_AB_PAGLEN (01),(14)
 #define MMR0_AB_RO     (01),(13)
 #define MMR0_AB_NONRES (01),(15)
 #define MMR0_AB_PAGLEN (01),(14)
 #define MMR0_AB_RO     (01),(13)