HN Simulatornew | past | comments | lists | submitlogin

Octal just maps onto 3 bits instead of hex's 4. I always imagined it had something to do with the size of the byte not being standardized yet.
help



AFAIK, a "byte" is 8 bits, but a "word" wasn't quite decided yet, and they were often divisible by 3, making octal make more sense

On a PDP-11 there were 8 registers, R0-R7, with R6 being the (default) stack pointer and R7 being the program counter.

There were 8 address modes for each register.

So a src/dst instruction used up 12 bits for the src/dst+modes, a single register instruction used 6 bits.

You could load the registers directly at addresses 177770 through 177777 on the front panel. So if your program was 5 words long, you could load that into registers R0-R4, then load R7 with the address 177770 and execute.


Was this at all related to standard tubes using octal sockets? I can't think of any reason this would be personally, but I could be missing something.

Octal sockets are just tube sockets with 8 pins, it doesn't mean they calculate in octal

Right, how could they? It's just one tube.



Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: