Alu, Bus
Alu, Bus
Machine
Inside The Computer
4/13/2022
2
How Computers Process Data
4/13/2022
3
The Arithmetic Logic Unit
• The actual manipulation of data takes place in the
ALU.
4/13/2022
• The ALU can perform arithmetic and logic operations.
4
• Everything has to be broken down into these few
operations.
Memory and CPU
4/13/2022
CPU uses a memory address to store and retrieve each piece of
5
data. Memory Address is a number that indicates a location
on the memory as a post box.
ALU: Machine Cycle
• Each time the CPU executes an instructions it takes
series of steps. The completed series of steps called
Machine Cycle.
• Broken down into two smaller cycle
4/13/2022
• Instruction Cycle
• Execution Cycle
• At the beginning of Machine cycle, during Instruction
Cycle two steps
• Fetching
• Decoding
• At the beginning of Execution Cycle two steps 6
• Executing
• Storing
4/13/2022
7
ALU Operations List
4/13/2022
8
Control unit
• The control unit is a component of a computer's central processing
unit(CPU) which directs operation of the processor.
4/13/2022
• It controls communication and co-ordination between
input/output devices. It reads and interprets instructions and
determines the sequence for processing the data.
4/13/2022
• The data bus' width determines how many bits can be transmitted
between the CPU and other devices, and carries the actual data
being processed.
• The address bus runs only between the CPU and RAM, and
carries nothing but memory addresses for the CPU to use.
• The control bus carries commands from the CPU and returns
status signals from the devices. Peripheral devices are connected to 10
the CPU by an expansion bus.
4/13/2022
11
Bus
4/13/2022
12
Bus
4/13/2022
13