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:
“I will soon be going out to shape all the singing tomorrows.”
—Gabriel Péri, French Communist leader. Letter, July 1942, written shortly before his execution by the Germans. Quoted in New York Times (April 11, 1943)
“The Buddha, the Godhead, resides quite as comfortably in the circuits of a digital computer or the gears of a cycle transmission as he does at the top of a mountain or in the petals of a flower.”
—Robert M. Pirsig (b. 1928)