Little Man Computer
The repository shows the compiler (simulator) of the Little Man Computer, which also contains some programs in the LMC programming language for implementing different functions.
About Little Man Computer
The Little Man Computer (LMC) is an instructional model of a computer, created by Dr. Stuart Madnick in 1965. The LMC is generally used to teach students because it models a simple von Neumann architecture computer—which has all the basic features of a modern computer. It can be programmed in machine code (albeit in decimal rather than binary) or assembly code.
Please visit the Wikipedia of Little Man Computer for more information.
How to run the LMC program
- Open the HTML page via your browser
- The upper left-hand part is the input box for inputting the codes
- The upper right-hand part is the components of the Little Man Computer
- The lower part is the result board for showing the result of your program
- Copy the sample programs or input your code in the input box
- Click the Compile & mount button to compile the LMC code in the input box
- Click the Run! button to run the code
You can see how the program runs in the components
- Get the calculation result in the result board