how a processor works 3

Monday, March 23, 2009

Step 2

Step 2: Push Key 3

A
When you press the 3 key, the Prefetch Unit asks the computer's main memory and the Instruction Cache for specific instructions on this new data. No matching instruction is found in the Instruction Cache so the instruction will come from the main memory.

B
Similar to "2=X," the new data instructions come into the microprocessor from the computer's main memory and get stored in an Instruction Cache address where it is assigned the code "3=Y."

C
The Prefetch Unit then pulls a copy of the code "3=Y" from the Instruction Cache and sends it to the Decode Unit for further processing.

Step 2

D
In the Decode Unit the instruction "3=Y" is translated or decoded into a string of binary code that is sent off to the Control Unit and the Data Cache to tell them what to do with the instruction.

E
Because the Decode Unit figured out that the number 3 was to be stored for the future in the Data Cache, the Control Unit now performs the instruction for "3=Y." This causes the number 3 to be sent to an address in the Data Cache called "Y," where it waits like the "2" for further orders.

0 Comments: