Thursday, 5 December 2013

Little Man Computer

The little man computer uses instructions

InstructionMnemonicMachine Code
LoadLDA5xx
StoreSTA3xx
AddADD1xx
SubtractSUB2xx
InputINP901
OutputOUT902
EndHLT000
Branch if zeroBRZ7xx
Branch if zero or positiveBRP8xx
Branch alwaysBRA6xx
Data storageDAT

The memory locations on the side of the simulator change numbers. It is one of the first computer programs, it was made in 1965 by Dr Stuart Madnick.  It is very basic program as it can only input and output numbers and some other commands.