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:
dc5bb9b
)
Minor update to example used for register bit field.
author
Aaron Taylor
<ataylor@subgeniuskitty.com>
Sat, 2 Jan 2021 04:32:42 +0000
(20:32 -0800)
committer
Aaron Taylor
<ataylor@subgeniuskitty.com>
Sat, 2 Jan 2021 04:32:42 +0000
(20:32 -0800)
pdp11_register.h
patch
|
blob
|
blame
|
history
diff --git
a/pdp11_register.h
b/pdp11_register.h
index
1ea9881
..
1fab2e5
100644
(file)
--- a/
pdp11_register.h
+++ b/
pdp11_register.h
@@
-167,9
+167,9
@@
*/
/*
*/
/*
- * 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)
.
+ * These take the form of
"(width),(offset)". For example, if a field is
+ *
4-bits wide and occupies bits 2-5 (starting from 0), then it would be
+ *
defined as "(017),(2)"
.
*/
#define MMR0_AB_NONRES (01),(15)
*/
#define MMR0_AB_NONRES (01),(15)