Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Systems - Processor. Objectives To investigate and understand the structure and role of the processor.

Similar presentations


Presentation on theme: "Computer Systems - Processor. Objectives To investigate and understand the structure and role of the processor."— Presentation transcript:

1 Computer Systems - Processor

2 Objectives To investigate and understand the structure and role of the processor

3 The Processor A processor (CPU) has several core components that work together to perform calculations. You need to know each of these and how they interact:

4 ALU - Arithmetic logic unit The Arithmetic Logic Unit or the ALU is a digital circuit that performs arithmetic and logical operations. Where arithmetic operations include things such as ADD and SUBTRACT and the logical operations include things such as AND, OR, NOT. The ALU is a fundamental building block in the central processing unit (CPU) of a computer and without it the computer wouldn't be able to calculate anything! Some examples of assembly code instructions that would use the ALU are as follows (not all processors will have all these instructions): ADD ;add one number to another number SUB ;subtract one number to another number INC ;increment a number by 1 DEC ;decrements a number by 1 MUL ;multiply numbers together OR ;boolean algebra function AND ;boolean algebra function NOT ;boolean algebra function XOR ;boolean algebra function JNZ ;jump to another section of code if a number is not zero (used for loops and ifs) JZ ;jump to another section of code if a number is zero (used for loops and ifs)

5 Control unit It coordinates the fetching of program code from main memory to the CPU and directs the operation of the other processor components by providing timing and control signals.

6 Internal clock A timing device connected to the processor that synchronises when the fetch, decode execute cycle runs Clock speed - The number of cycles that are performed by the CPU per second… Clock speed is measured in Hertz, which means 'per second'. You have probably heard of clock speeds such as 1 MHz, this means 1,000,000 cycles per second. A computer of speed 3.4 GHz means it might be capable of processing 3,400,000,000 instructions per second! With the increase in multi-core processors such as the PS3 (7 cores) and the Xbox 360 (3 cores) there might be times where the clock might be ticking but there is nothing for the processor to calculate, the processor will then sit idle.

7 Registers Registers - a small amount of fast storage which is part of the processor For immediate calculations, using main memory is too slow. Imagine having to send a signal along the address bus and some data along the data bus when all you want to do is store the result of adding two numbers together. The distance between the processor and main memory, even though it might be a few centimetres, is far enough for the signal to take a significant time to get there. To get past this issue there are small amounts of memory stored inside the processor itself, these are called registers. Registers are incredibly fast pieces of memory that are used to store the results of arithmetic and logic calculations.


Download ppt "Computer Systems - Processor. Objectives To investigate and understand the structure and role of the processor."

Similar presentations


Ads by Google