Thursday, November 21, 2013

Main Memory Fetch-Cycle

CPU stands for Central Processing Unit , is the central processing unit . Also known as the processor (Processor) or chips (Chip) CPU is a small chip inside the CPU will feature vast amounts of electronic circuits . Which can not be seen with the naked eye CPU serves to calculate the number of commands entered by the user program to the CPU to read a set of instructions that interpret and perform calculations on the results , it will send the results to show the screen.

The main components of the computer.

Current computers were designed according to the principles of John Von Neumann, which will have three main components, including CPU Memory I / O.

John Von Neumann
CPU consists of two units, the main unit is a control unit (Control Unit), acting on orders from the main memory into the register and then transcode (Decoding) called stroke order. (Instructional Cycle) and then sent him to the operating tempo (Execution Cycle) and logical unit (ALU: Arithmetic and Logical Unit) to calculate and compare Then send the results stored in the Register, which serves to store and relay information command was introduced.

The basic operation of the computer.
Computer is an electronic device that can be used for many different functions, which allows for greater human comfort. To the results, it can make the computer work and processes to find answers quickly. As a result of the computer itself automatically.


CPU (Central Processing Unit).

                The computer has a central processing unit , also known as the CPU (CPU: Central Processing Unit) , which is part of the processing equipment (processing device) the main function is to processing orders received that can be done. CPU will handle the process themselves .Because they have the units for the specific work .
     Control unit (Control Unit) controls the function of every unit in the CPU and peripherals . From the moment I entered the command . The command to retrieve data from memory and then interpret. To send to the Arithmetic Logic Unit calculations . And decide whether to store it anywhere .
     Arithmetic Logic Unit (ALU: Arithmetic and Logic Unit) which acts as an agent in mathematics (arithmetic) as quotients and data logic (logical) as true or false. Comparison operators using three basic values ​​that are less than and equal to .
     Router registers (Register) is a set of instructions for spool data results and data processing occurs while the CPU is only temporary . Not a memory at all. Registry router to send and receive data at high speeds. And run under the control of the control unit, as well as other units .

Fetch Execute Cycle 
Typically, a central processing unit, or CPU. Command can process only 1 order at a time, but at very high speeds but also depending on the speed of the CPU. When CPU works on each command until finish they will call the next command to process it. CPU keep doing this again and again as a cycle so we call it Machine Cycle 

Machine Cycle involves mainly by reading and processing data from the main memory. And forwarding the work related to the next. Which can be divided into four stages as follows.

Step 1: (Fetch) this process the control unit will pull out various commands and datas from the main memory.

Step 2: Interpretation (Decode) control unit of the CPU instruction set to locate and interpret the meaning of such a statement was issued that set. What is to be done. To generate a control signal sent to the Arithmetic Logic Unit or ALU manipulate the data to get to it.

Step 3: The Executable (Execute) on the arithmetic and logic processing signals received from the control unit. Its function is to calculate and compare the order is received. And forward the results to management.

Step 4: To store the results (Store) results from the calculation of the arithmetic and logic, and data is written to the address or location of the memory. To wait for the rest 

No comments:

Post a Comment