Skip to main content

Timeline for Where are octals useful?

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Aug 4 at 12:58 comment added gerrit "50 years ago" could be replaced by writing a decade to make this answer more future-proof.
Nov 17, 2017 at 5:33 comment added axl 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.
Aug 14, 2017 at 12:37 comment added user234461 So DEC worked in OCT. Should've just used multiples of 3.32 bits to avoid confusion.
Jan 19, 2014 at 5:23 comment added tcrosley @JohnR.Strohm Thanks for the comment re the 3-bit registers. I agree with your analysis and have updated my answer.
Jan 19, 2014 at 5:22 history edited tcrosley CC BY-SA 3.0
added 570 characters in body
Jan 18, 2014 at 5:53 comment added John R. Strohm Your 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.
Aug 4, 2011 at 22:25 history edited tcrosley CC BY-SA 3.0
deleted 5 characters in body
Aug 4, 2011 at 22:18 history edited tcrosley CC BY-SA 3.0
added 262 characters in body
Aug 4, 2011 at 22:08 history edited tcrosley CC BY-SA 3.0
added 639 characters in body
Aug 4, 2011 at 20:05 history answered tcrosley CC BY-SA 3.0