Sunday, February 8, 2009

CPU function

CPU functions as a calculator, only much more powerful CPU processing power. Main function of the CPU is doing arithmetic and logic operations on data retrieved from memory or from information entered through some hardware, such as keyboard, scanner, control lever, and mouse. CPU controlled using a set of instructions the computer software. The software can be executed by the CPU to read from the storage media, such as hard disk, floppy disks, compact disk, or tape recorder. Instructions are then stored on the first physical memory (RAM), each of which instructions will be given a unique address called a memory address. Next, the CPU can access data in RAM with the address specify the desired data.
When an executable program, the data flow from the RAM to a unit called a bus, which connects the CPU with RAM. Didekode with the data and then use the unit as the instructions pendekoder able to translate the instructions. Data and then run to the arithmetic and logic unit (alu) that perform calculations and comparisons. Data can be stored temporarily by a pestle in a memory location that is called a register that can be taken back to be processed quickly. Pestle can perform certain operations, including Answer, multiplication, subtraction, test the condition of the data in the register, to send the process back to the physical memory, storage media, or register, when the processing takes longer. During this process occurs, the CPU in a unit called the program will monitor the success of the instructions so that instructions executed can be executed with the correct sequence and appropriate.

No comments:

Post a Comment