Hacker News new | ask | show | jobs
by systems_glitch 497 days ago
Plus, learning PDP-11 ASM explains some of the idioms from C as they map directly onto the architecture! "Pointer to a pointer" is just a native addressing mode, for instance.
1 comments

Yah, C's pre-increment and post-increment are map right onto the -11 addressing modes. It's a brilliantly conceived minimal instruction set. Just a joy to code in.

I rewrote EMPIRE into PDP-11 assembler.

https://github.com/DigitalMars/Empire-for-PDP-11