• Please review our updated Terms and Rules here

Books or online resources for PDP-11 assembly/machine code

Not a book or reference, but I've recently been looking at the source for the famous Lunar Lander game 'MOONLANDER' written for the GT40 back in 1973
I don't have a GT40 but I believe this piece of code is interesting to study for the style and substance of a non-trivial complete working PDP-11 assembly code application. The author commented it well, if somewhat wryly:

http://www.brouhaha.com/~eric/retrocomputing/dec/gt40/software/moonlander/gtlem.mac

Steve.
 
I'm not sure it's absolutely the best example of Macro-11 to study, although stylistically it has many merits for an assembly program.

I have to cite my favorite part:
Code:
[B]'            R T - 1 1  L U N A R  L A N D E R'
'              -----------------------------'
'    ALL INTERNAL NAVIGATIONAL SYSTEMS HAVE DIED ON YOU'
'
'       IT LOOKS AS THOUGH YOU'RE GOING TO HAVE TO'
'             LAND THIS THING ON YOUR OWN'
'       ***** GOOD BYE, GOOD LUCK, AND SORRY  *****'[/B]
 
Back
Top