You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- 1Your comment about PDP-11 documentation is incorrect. The PDP-11 had 8 registers. R0-R5 were general purpose registers. R6 was the stack pointer, and R7 was the PC. The MOV instruction took two 3-bit register numbers and two 3-bit addressing modes. Octal captures the register and mode fields PERFECTLY. (I strongly doubt that this was an accident.) Using hex would have confused everything. PUSH and POP were just addressing modes that used R6. Immediate operand was an addressing mode that used R7.John R. Strohm– John R. Strohm2014-01-18 05:53:08 +00:00Commented Jan 18, 2014 at 5:53
- @JohnR.Strohm Thanks for the comment re the 3-bit registers. I agree with your analysis and have updated my answer.tcrosley– tcrosley2014-01-19 05:23:06 +00:00Commented Jan 19, 2014 at 5:23
- So DEC worked in OCT. Should've just used multiples of 3.32 bits to avoid confusion.user234461– user2344612017-08-14 12:37:29 +00:00Commented Aug 14, 2017 at 12:37
- It’s funny how I never considered the Unix permissions to be an octal number, I always thought of it as three individual digits written together, each representing the three rwx bits, so they could be octal, decimal, or even hex.axl– axl2017-11-17 05:33:02 +00:00Commented Nov 17, 2017 at 5:33
- "50 years ago" could be replaced by writing a decade to make this answer more future-proof.gerrit– gerrit2025-08-04 12:58:28 +00:00Commented Aug 4 at 12:58
Add a comment |
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you