From: Aaron Taylor Date: Fri, 1 Jan 2021 03:18:16 +0000 (-0800) Subject: Added note explaining the format of register field definitions in pdp11_register.h. X-Git-Url: http://git.subgeniuskitty.com/pdp11-memory-test/.git/commitdiff_plain/dc5bb9bbe89e75612fc2929a5b0f5b0a5b8c0cd1 Added note explaining the format of register field definitions in pdp11_register.h. --- diff --git a/pdp11_register.h b/pdp11_register.h index b5a8e79..1ea9881 100644 --- a/pdp11_register.h +++ b/pdp11_register.h @@ -166,6 +166,12 @@ * ============================================================================= */ +/* + * 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)