0% found this document useful (0 votes)
29 views13 pages

Alu, Bus

The document discusses how a computer processes data inside the CPU. The CPU contains an arithmetic logic unit (ALU) that performs arithmetic and logic operations on data from registers. The CPU also uses a control unit to direct operations and a bus to transmit data and instructions between components.

Uploaded by

Abror md Fayiaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views13 pages

Alu, Bus

The document discusses how a computer processes data inside the CPU. The CPU contains an arithmetic logic unit (ALU) that performs arithmetic and logic operations on data from registers. The CPU also uses a control unit to direct operations and a bus to transmit data and instructions between components.

Uploaded by

Abror md Fayiaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Inside the Ultimate

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.

• The ALU is connected to a set of registers—small


memory areas in the CPU, which hold data and program
instructions while they are being processed.

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.

• It directs the operation of the other units by providing timing and


control signals.

• All computer resources are managed by the CU (Control Unit). It 9


directs the flow of data between the Central Processing Unit
(CPU) and the other devices.
Bus
• A bus is a path between the components of a computer. Data and
instructions travel along these paths.

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

You might also like