Little Man Computer is a model of a computer that was created to help students of computer science learn about assembly language programming and the Von Neumann Architecture. In this computer science lesson, you will learn how to write looping code, that is, you will learn how to make a block of code repeat over and over again. This is also known as iteration. You will see a number of different programs that illustrate the concept of looping. For example, programs to count up or count down, multiply two numbers together and divide one number by another. You will also learn how to create a pen and paper trace table to track the contents of a program’s variables while it executes. There are some exercises that you can try yourself, along with explanations of their solutions. For example to display values of the Fibonacci sequence.
Online LMC simulator by 101computing.net
Chapters:
00:00 What is iteration or looping?
00:22 Output the same value multiple times
04:40 Count up
05:22 Multiply two numbers together
05:51 Create a trace table
11:30 Exercises
13:08 Solutions