<P> 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 ) . At one end of the room , there are 100 mailboxes ( memory ) , numbered 0 to 99 , that can each contain a 3 digit instruction or data ( ranging from 000 to 999 ) . Furthermore , there are two mailboxes at the other end labeled INBOX and OUTBOX which are used for receiving and outputting data . In the center of the room , there is a work area containing a simple two function ( addition and subtraction ) calculator known as the Accumulator and a resettable counter known as the Program Counter . The Program Counter holds the address of the next instruction the Little Man will carry out . This Program Counter is normally incremented by 1 after each instruction is executed , allowing the Little Man to work through a program sequentially . Branch instructions allow iteration ( loops ) and conditional programming structures to be incorporated into a program . 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 ) . </P>
<P> 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 ) . At one end of the room , there are 100 mailboxes ( memory ) , numbered 0 to 99 , that can each contain a 3 digit instruction or data ( ranging from 000 to 999 ) . Furthermore , there are two mailboxes at the other end labeled INBOX and OUTBOX which are used for receiving and outputting data . In the center of the room , there is a work area containing a simple two function ( addition and subtraction ) calculator known as the Accumulator and a resettable counter known as the Program Counter . The Program Counter holds the address of the next instruction the Little Man will carry out . This Program Counter is normally incremented by 1 after each instruction is executed , allowing the Little Man to work through a program sequentially . Branch instructions allow iteration ( loops ) and conditional programming structures to be incorporated into a program . 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 ) . </P>
in the little man computer the number of mail boxes are
in the little man computer the number of mail boxes are
100 mailboxes ( memory ) , numbered 0 to 99
100 mailboxes ( memory ) , numbered 0 to 99