1,782
26
Essay, 2 pages (400 words)

The little man computer

The ELM models a simple Von Neumann computer architecture used primarily to teach students. The ELM contains all the components of a computer CUP], memory, and input output capability. The ELM system architecture uses basic design elements to help illustrate the basic concepts of processing Input and output. The basic architecture is comprised of a little man In a small room that performs basic tasks.

The little man executes basic tasks by following a set of instructions. The main components of the ELM are mailboxes, calculator, Inbox, and outbox. Like In a real computer, the memory In the ELM consists of mailboxes which are slots to hold stored information. The calculator is like the Arithmetic Logic Unit on a real computer, and the inbox and outbox are for receiving and outputting data similar too keyboard and monitor. With this basic design the ELM is a great introductory tool to help illustrate how a fetch and execute process works.

Stops the Computer – the Little Man rests. Xx ADD xx Adds the contents of mailbox extol the calculator display. MM SUB xx Subtracts the contents of mailbox xx from the calculator display. Sexton Stores the calculator value into mailbox xx. Xx Stats Stores the address portion of the calculator value (last 2 digits) into the address portion of the Instruction In mailbox xx LOAD xx Loads the contents of mailbox xx into the calculator. Xx B xx This instruction sets the instruction counter to the number xx, thus effectively branching to mailbox xx See the note for Instruction BP MM BIZ xx IF the calculator value Is zero, THEN set the Instruction enter to the number xx, thus effectively branching to mailbox xx. See the note for instruction apex BP IF the calculator value is positive, THEN set the instruction counter to the number xx, thus effectively branching to mailbox xx_ NOTE: zero Is considered positive.

NOTE: Because of the three branching instructions, it is important for the LITTLE MAN to FIRST increment the instruction counter and THEN carry out the Instruction. If he FIRST set the Instruction counter to xx and THEN incremented the instruction counter the next instruction to be executed would be in mailbox xx+l, not in mailbox AAAS was intended. 01 READ Read a number from the IN basket and key It Into the calculator. 902 PRINT Copy the number In the calculator onto a slip of paper and place it into the OUT basket.

Thank's for Your Vote!
The little man computer. Page 1
The little man computer. Page 2
The little man computer. Page 3

This work, titled "The little man computer" was written and willingly shared by a fellow student. This sample can be utilized as a research and reference resource to aid in the writing of your own work. Any use of the work that does not include an appropriate citation is banned.

If you are the owner of this work and don’t want it to be published on AssignBuster, request its removal.

Request Removal
Cite this Essay

References

AssignBuster. (2022) 'The little man computer'. 14 September.

Reference

AssignBuster. (2022, September 14). The little man computer. Retrieved from https://assignbuster.com/the-little-man-computer/

References

AssignBuster. 2022. "The little man computer." September 14, 2022. https://assignbuster.com/the-little-man-computer/.

1. AssignBuster. "The little man computer." September 14, 2022. https://assignbuster.com/the-little-man-computer/.


Bibliography


AssignBuster. "The little man computer." September 14, 2022. https://assignbuster.com/the-little-man-computer/.

Work Cited

"The little man computer." AssignBuster, 14 Sept. 2022, assignbuster.com/the-little-man-computer/.

Get in Touch

Please, let us know if you have any ideas on improving The little man computer, or our service. We will be happy to hear what you think: [email protected]