A machine cycle, also called a processor
cycle or an instruction cycle, is the basic operation performed by a
central processing unit (CPU). A CPU is the main logic unit of a computer. An Arithmetic
and Logic Unit (ALU) is a digital circuit that performs integer arithmetic and logical operations.
The ALU is a fundamental building block of the central processing unit of
a computer, and even the simplest microprocessors contain one for
purposes such as maintaining timers.
The steps performed by the computer
processor for each machine language instruction received. The machine
cycle is a 4 process cycle that includes reading and interpreting the
machine language, executing the code and then storing that code.
- Fetch - Retrieve an instruction from the memory.
- Decode - Translate the retrieved instruction into a series of computer commands.
- Execute - Execute the computer commands.
- Store - Write the results back in memory.
No comments:
Post a Comment