projects
/
pdp11-memory-test
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7f63519
)
Added note explaining the format of register field definitions in pdp11_register.h.
author
Aaron Taylor
<ataylor@subgeniuskitty.com>
Fri, 1 Jan 2021 03:18:16 +0000
(19:18 -0800)
committer
Aaron Taylor
<ataylor@subgeniuskitty.com>
Fri, 1 Jan 2021 03:18:16 +0000
(19:18 -0800)
pdp11_register.h
patch
|
blob
|
blame
|
history
diff --git
a/pdp11_register.h
b/pdp11_register.h
index
b5a8e79
..
1ea9881
100644
(file)
--- 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)
#define MMR0_AB_NONRES (01),(15)
#define MMR0_AB_PAGLEN (01),(14)
#define MMR0_AB_RO (01),(13)