INTRODUCTION:
Today's microprocessors are the brains of your personal computer. Here on this tiny silicon chip are millions of switches and pathways that help your computer make important decisions and perform helpful tasks. And microprocessors don't just think for computers-you might find a processor in many other everyday items like your telephone or car. To help you understand how the microprocessor does its job, you will go step by step through a simple task on the chip. For the purpose of this demonstration, you will add two numbers together while watching the microprocessor do its magic. You will complete this task in four easy steps and you may review each step as many times as you want. Remember, each part of the processor has a special task.
(A)Pressing the 2 key alerts the microprocessor and signals the Prefetch Unit to ask the computer's main memory for a specific instruction on the new data since there is nothing about it in the Instruction Cache.
(B)The new data instruction comes into the microprocessor through the Bus Unit from the computer's main memory and gets stored in the Instruction Cache, where it is assigned a code "2=X".
(E)Because the Decode Unit figured out that the number 2 was to be stored for the future in the Data Cache, the Control Unit now performs the instruction for "2=X." This causes the number 2 to be sent to an address in the Data Cache called "X," where you see it waiting for further orders.