Execution Cycle
See also: Instruction cycleTo execute a program, the little man performs these steps:
- check the Program Counter for the mailbox number that contains a program instruction
- fetch the instruction from the mailbox with that number
- increment the Program Counter (so that it contains the mailbox number of the next instruction)
- decode the instruction (includes finding the mailbox number for the data it will work on)
- fetch the data from the mailbox with the number found in the previous step
- execute the instruction
- store the new data in the mailbox from which the old data was retrieved
- repeat the cycle or halt
Read more about this topic: Little Man Computer
Famous quotes containing the words execution and/or cycle:
“Those who govern, having much business on their hands, do not generally like to take the trouble of considering and carrying into execution new projects. The best public measures are therefore seldom adopted from previous wisdom, but forced by the occasion.”
—Benjamin Franklin (17061790)
“Oh, life is a glorious cycle of song,
A medley of extemporanea;
And love is a thing that can never go wrong;
And I am Marie of Roumania.”
—Dorothy Parker (18931967)