The Little Man Computer LMC Intro The Little Man Computer
LMC Imagine a tiny man in a box with: Input and output trays List of numbers (memory) Program Data Calculator Only holds one value at a time
Excel WS Excel Version of LMC:
Instructions Instructions are 3 digits
Instructions Instructions 3 digits First digit is opcode
Instructions Instructions 3 digits First digit is opcode Last two digits extra information
Instructions xx = memory location 305 store accumulator to location 05 in memory
Data Instructions at start of memory Extra space used to store data Ends with 000 instruction (or empty box) Extra space used to store data 10 used as storage 09 has a number that will be used by the program