Central Processing Unit CUP by madridista ujjwal

14
Central Processing Unit (CPU) By: Ujjwal Thalang Limbu Roll no. 26 1 st sem

description

CPU known as a processor is the brain of the computer, process data (input) and converts it into meaningful information (output). Arithmetic logical unit ALU Registers System Bus

Transcript of Central Processing Unit CUP by madridista ujjwal

Page 1: Central Processing Unit CUP by madridista ujjwal

Central Processing Unit (CPU)

By: Ujjwal Thalang LimbuRoll no. 26 1st sem

Page 2: Central Processing Unit CUP by madridista ujjwal

Introduction CPU known as a processor is the

brain of the computer, process data (input) and converts it into meaningful information (output).

Page 3: Central Processing Unit CUP by madridista ujjwal

The Central Processing Unit

Page 4: Central Processing Unit CUP by madridista ujjwal

The control unit is a component of a computer's central processing unit (CPU) which directs operation of the processor.

It controls communication and co-ordination between input/output devices.

It reads and interprets instructions and determines the sequence for processing the data.

Control Unit (CU)

Page 5: Central Processing Unit CUP by madridista ujjwal

Machine Cycle

5

FETCHING

EXECUTING

STORING DECODING

Page 6: Central Processing Unit CUP by madridista ujjwal

Processor

Control Unit

MEMORY

ALU

How it works ?

Step 1. Fetch Calls an instruction into memory. User want to calculate 2 +2

Step 2. Decode Translate instruction into commands (to binary form)

Ex: 1110000

Step 4. Store Write result to memory

Step 3. Execute

Does the decoded instructionAdd 2+2

Page 7: Central Processing Unit CUP by madridista ujjwal

Arithmetic and logical unitThe ALU is what performs all mathematical operations inside the CPU.

Page 8: Central Processing Unit CUP by madridista ujjwal

Arithmetic Operations

AdditionSubtractionMultiplicatio

nDivision

Page 9: Central Processing Unit CUP by madridista ujjwal

Logical Operations

Evaluates conditions Makes comparisons Can compare

• Numbers• Letters• Special characters

Page 10: Central Processing Unit CUP by madridista ujjwal

Registers Special-purpose, high speed temporary

memory Holds information that CPU is currently

working on

Program Counter Instruction Register Memory Buffer Register Accumulator Data Register Memory Address Register

Register name

Page 11: Central Processing Unit CUP by madridista ujjwal

SYSTEM BUS A set of connection between two

or more components/devices.

Page 12: Central Processing Unit CUP by madridista ujjwal
Page 13: Central Processing Unit CUP by madridista ujjwal

• I would like to take this opportunity to thank our Sir Anil Kumar Yadav for giving such an interesting topic for my presentation which has enlightened my knowledge about Central Processing Unit (CPU).

Acknowledgement

Page 14: Central Processing Unit CUP by madridista ujjwal