News for hackers. Stuff that matters.
Re:What Have We Learned from the PDP-11? by dbcurtis on Wednesday December 06, 2017 @08:15PM (#15866752)
For sure. If you look at Old Testament K&R C and PDP-11 assembly language side by side, you can see the mapping very clearly. It's been a looooong time since I did PDP-11 at that level, but if memory serves, I'm pretty sure that a switch(e) {...} can be done as a single jump instruction with indexed-indirect addressing mode.

There are no comments on this comment yet.