7.5. The Little Computer - Assembly¶
The Little Computer supports an assembly language that makes can make it easier for humans to write and read programs. In addition to replacing numeric commands like “1XX” or “902” with abbreviated English commands like “ADD” or “OUT”, Little Computer assembly allows us to think at a slightly more abstract level. Instead of remembering specific memory addresses so we can say “add the value from location 10”, we can name memory locations and then say things like “add X”. This video introduces it:
Before you keep reading...
Making great stuff takes time and $$. If you appreciate the book you are reading now and want to keep quality materials free for other students please consider a donation to Runestone Academy. We ask that you consider a $10 donation, but if you can give more thats great, if $10 is too much for your budget we would be happy with whatever you can afford as a show of support.
You can access the assembler here: Launch the Little Computer assembler (Control or Command click to open in a new window)
To test out a program after assembling it, use the Little Computer: Launch the Little Computer (Control or Command click to open in a new window)