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.
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.
WalterBright|1 year ago
I rewrote EMPIRE into PDP-11 assembler.
https://github.com/DigitalMars/Empire-for-PDP-11