Lecture 1 Part 2 - Central Processing Unit
Lecture 1 Part 2 - Central Processing Unit
Lecture 1 Part 2 - Central Processing Unit
direct the flow of data through the CPU, and to and from other devices.
The control unit can execute only one instruction at a time, but it
can execute instructions so quickly (millions per second) that it can
appear to do many different things simultaneously.
4 CSC 1100 - Computer Literacy 07/04/2021
Arithmetic/Logic Unit
The arithmetic/logic unit (ALU) performs the four basic
arithmetic operations of addition, subtraction, multiplication and
division as well as the logical operations of the comparison
between two pieces of data i.e. Greater Than (>), Less Than (<),
Equal To (=)
To store data that have been input until they are transferred to
the arithmetic/logic unit for processing.
To store data and results during intermediate stages of
processing.
To hold data after processing until they are transferred to an
output device.
To hold program statements or instructions received from input
devices and from secondary storage.
After the execution cycle, the process begins the next instruction.
This process continues until the last instruction of the program
has been executed.
The system bus has two parts: the data bus and the address bus.
Cache built into the CPU itself is referred to as Level 1 (L1) cache.
Cache that resides on a the motherboard is also called Level 2 (L2)
cache.
18 CSC 1100 - Computer Literacy 07/04/2021
Pipelining
• Pipelining: CPU begins fetching second instruction before
completing machine cycle for first instruction
• Results in faster processing