[1] The LMC is generally used to teach students, because it models a simple von Neumann architecture computer—which has all of the basic features of a modern computer.
[2][3][4] The LMC model is based on the concept of a little man shut in a closed mail room (analogous to a computer in this scenario).
The latter is achieved by setting the Program Counter to a non-sequential memory address if a particular condition is met (typically the value stored in the accumulator being zero or positive).
As specified by the von Neumann architecture, any mailbox (signifying a unique memory location) can contain either an instruction or data.
Care therefore needs to be taken to stop the Program Counter from reaching a memory address containing data - or the Little Man will attempt to treat it as an instruction.
To use the LMC, the user loads data into the mailboxes and then signals the Little Man to begin execution, starting with the instruction stored at memory address zero.
Some LMC simulators are programmed directly using 3-digit numeric instructions and some use 3-letter mnemonic codes and labels.
To work around this difficulty, most assembly languages (including the LMC) combine the mnemonics with labels.
(Note: an input that results in a value greater than 999 will have undefined behaviour due to the 3 digit number limit of the LMC).