Little Man Student Handout
Little Man Student Handout
19-101
Spring 2001
Reading
Stewart Madnick . Understanding the Computer (Little Man Computer) on
reserve in E&S Library in the 19-101 course packets. (Hopefully this will also be
in the online reserves by the time you receive handout.)
OPERATION
1XX
2XX
3XX
4XX
500
Get input from the input try and load it in the ALU
600
700
STOP!
800
801
802
OUTPUT TRAY
CALCULATOR
MEMORY
PROGRAM
COUNTER
So, the Little Man starts the next instruction by going to the program counter,
noting which memory location it is pointing to, incrementing the counter, then
going to look in the memory location he noted prior to incrementing the counter.
Other Notes.
Our Software Little Man can not accept negative number inputs, although
calculator operations can produce negative numbers, which are properly
handled.
Also, as in the Madnick article, input numbers, and any operations performed on
them, can not exceed three digits.