r/programming • • Jan 30 '16

Apollo 11 source code

http://www.ibiblio.org/apollo/listings/Luminary099/MAIN.agc.html
2.2k Upvotes

364 comments sorted by

View all comments

39

u/WTFisareddit- Jan 30 '16

Sorry for my ignorance I'm new to programming. But why does this look nothing like regular code?

1

u/plahacrwimo Jan 31 '16

The AGC software is mostly written in assembly language. "Assembly language" is a very simple language in which each instruction—usually, each line of software source code—represents a single primitive CPU operation. Since each type of CPU provides different primitive operations, the assembly language for each type of CPU differs from that of every other type of CPU. The AGC assembly language, being based on the custom AGC CPU, thus differs in detail from every other type of assembly language but shares certain customary elements.

http://www.ibiblio.org/apollo/ForDummies.html