SlideShare a Scribd company logo
1 of 14
Download to read offline
Computer
Architecture
Syed Zaid Irshad
Outline
– Important Definitions
– Components of a Digital Computer
– Computer Registers
– Buses
– Instructions
– Stack Organized CPU
– Internal Working of CPU
Important Definitions
– Computer Organization
– How computer components works and how they work together with other
components
– Computer Design
– Hardware design of computer
– Computer Architecture
– It is concerned with the structure and behaviour of the computer as seen by the user
Components of a Digital
Computer
– Components of a Digital Computer can be classified into four which are
following:
– Input
– Output
– CPU
– Memory
Computer Registers
– General purpose Register
– Store Data Temporary
– Accumulator
– Store Data Temporary for Arithmetic/Logical Operations
– Status Register
– Carry, Zero, Sign, Parity flags, 1-bit
– Memory Buffer Register
– Store Data which is being used
Computer Registers
– Memory Address Register
– Address of Data in MBR
– Instruction Register
– Instruction that is being used on Data
– Program Counter
– Store order of Execution
– Stack Pointer
– Set of Memory Locations
Buses
– There are three types of Buses called:
– Address Bus
– Address of Memory location travel on these paths
– Data Bus
– Required or Updated Data travel on these paths
– Control Bus
– It controls the reading and Writing of the Data
Instructions
– It is an order for a computer to perform a certain operations.
– A typical instruction has two parts:
– Operation Code
– Means which of arithmetic or logical operation is required
– Address
– On which data or set of data will be used for the operation
Instructions
– Following are the types of Instruction Format:
– Three-Address Instruction
– Operation Code, Two Operand Address, One Result Address
– Two-Address Instruction
– Operation Code, One Operand Address, One Result Address
– One-Address Instruction
– Operation Code, One Operand Address
– Zero-Address Instruction
– Operation Code
Stack Organized CPU
– Stack store data in such manner that the last entry get to use first in order to
retrieve the very first data.
– Stack has two kind of Operation, PUSH & POP, Push insert the data into stack
whereas Pop retrieve it.
– Polish Notation is used in Stacks to perform the operation of data.
– There are two types of Polish Notations:
– Prefix (Polish) Notation
– Postfix (Reverse Polish) Notation
Stack Organized CPU
– Infix Notation:
𝐴 + 𝐵, 𝐶 − 𝐷, 𝐸 ∗ 𝐹,
𝐺
𝐻
, 𝐴 + 𝐵 ∗ 𝐶, 𝐴 + (𝐵 ∗ 𝐶)
– Prefix Notation:
+𝐴𝐵, −𝐶𝐷,∗ 𝐸𝐹,/𝐺𝐻, +𝐴𝐵 ∗ 𝐶,∗ 𝐵𝐶 + 𝐴
– Postfix Notation:
𝐴𝐵+, 𝐶𝐷−, 𝐸𝐹 ∗, 𝐺𝐻/, 𝐴𝐵 + 𝐶 ∗, 𝐵𝐶 ∗ 𝐴 +
Stack Organized CPU
– Example:
4 ∗
3
1
+ 5
– Postfix Expression:
4 3 ∗ 1/5 +
4
Stage 1
3
4
Stage 2
12
Stage 3
1
12
Stage 4
12
Stage 5
5
12
Stage 6
17
Stage 7
Internal Working of CPU
– CPU is the unit that take the input, perform some operations and provide the
store the output in memory.
– This whole process is done in mainly two steps:
– Fetch
– Execute
– Which are known as Instruction Cycle.
Internal Working of CPU
– In Fetching Process following registers are used:
– Instruction Register
– Memory Buffer Register
– Program Counter
– Memory Address Register
– In Execution Process:
– Instruction Register holds
– Operation code
– Address of Operand

More Related Content

What's hot

Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9
myrajendra
 
Chapter 1 introduction to computers
Chapter 1   introduction to computersChapter 1   introduction to computers
Chapter 1 introduction to computers
haider ali
 
Chapter01Introducing Hardware
Chapter01Introducing HardwareChapter01Introducing Hardware
Chapter01Introducing Hardware
Patty Ramsey
 

What's hot (20)

Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9
 
Chapter 1 introduction to computers
Chapter 1   introduction to computersChapter 1   introduction to computers
Chapter 1 introduction to computers
 
Basic computerparts
Basic computerpartsBasic computerparts
Basic computerparts
 
Os Swapping, Paging, Segmentation and Virtual Memory
Os Swapping, Paging, Segmentation and Virtual MemoryOs Swapping, Paging, Segmentation and Virtual Memory
Os Swapping, Paging, Segmentation and Virtual Memory
 
Evolution of os
Evolution of osEvolution of os
Evolution of os
 
History of Operating system
History of Operating systemHistory of Operating system
History of Operating system
 
Operating system presentation
Operating system presentationOperating system presentation
Operating system presentation
 
Chapter1 introduction to computer systems
Chapter1 introduction to computer systemsChapter1 introduction to computer systems
Chapter1 introduction to computer systems
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
Chapter01Introducing Hardware
Chapter01Introducing HardwareChapter01Introducing Hardware
Chapter01Introducing Hardware
 
operating system
operating systemoperating system
operating system
 
computer software
computer softwarecomputer software
computer software
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
 
Understanding of Computer | Introduction | Computer In Business
Understanding of Computer | Introduction | Computer In BusinessUnderstanding of Computer | Introduction | Computer In Business
Understanding of Computer | Introduction | Computer In Business
 
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture Notes
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
 
OPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURES
OPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURESOPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURES
OPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURES
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
 
Introduction, Installation Operating System and Application
Introduction, Installation Operating System and ApplicationIntroduction, Installation Operating System and Application
Introduction, Installation Operating System and Application
 
Lab 1 Introduction to Computer
Lab 1   Introduction to ComputerLab 1   Introduction to Computer
Lab 1 Introduction to Computer
 

Similar to Computer Architecture

Computer organiztion5
Computer organiztion5Computer organiztion5
Computer organiztion5
Umang Gupta
 
Computer System Architecture - Computer System Architecture
Computer System Architecture - Computer System ArchitectureComputer System Architecture - Computer System Architecture
Computer System Architecture - Computer System Architecture
ssusera1e32a1
 

Similar to Computer Architecture (20)

Ch5 official.ppt
Ch5 official.pptCh5 official.ppt
Ch5 official.ppt
 
Unit. 3 coa.ppt
Unit. 3 coa.pptUnit. 3 coa.ppt
Unit. 3 coa.ppt
 
Computer organiztion5
Computer organiztion5Computer organiztion5
Computer organiztion5
 
Computer System Architecture - Computer System Architecture
Computer System Architecture - Computer System ArchitectureComputer System Architecture - Computer System Architecture
Computer System Architecture - Computer System Architecture
 
BASIC COMPUTER ORGANIZATION AND DESIGN
BASIC  COMPUTER  ORGANIZATION  AND  DESIGNBASIC  COMPUTER  ORGANIZATION  AND  DESIGN
BASIC COMPUTER ORGANIZATION AND DESIGN
 
COA CHAPTER 5
COA CHAPTER 5COA CHAPTER 5
COA CHAPTER 5
 
The Basic Organization of Computers
The Basic Organization of ComputersThe Basic Organization of Computers
The Basic Organization of Computers
 
BasicComputerOrganization and Architecture by Moriss Meno
BasicComputerOrganization and Architecture by Moriss MenoBasicComputerOrganization and Architecture by Moriss Meno
BasicComputerOrganization and Architecture by Moriss Meno
 
digital logic circuits, digital component
digital logic circuits, digital componentdigital logic circuits, digital component
digital logic circuits, digital component
 
Unit 1 computer architecture (1)
Unit 1   computer architecture (1)Unit 1   computer architecture (1)
Unit 1 computer architecture (1)
 
CPU.ppd
CPU.ppdCPU.ppd
CPU.ppd
 
Typical configuration of computer chapter 1
Typical configuration of computer chapter 1 Typical configuration of computer chapter 1
Typical configuration of computer chapter 1
 
ICT-Lecture_12(VonNeumannArchitecture).pptx
ICT-Lecture_12(VonNeumannArchitecture).pptxICT-Lecture_12(VonNeumannArchitecture).pptx
ICT-Lecture_12(VonNeumannArchitecture).pptx
 
Computer & it's components
Computer & it's componentsComputer & it's components
Computer & it's components
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.
 
Ca basic computer organization
Ca basic computer organizationCa basic computer organization
Ca basic computer organization
 
Lecture#06 inner workings of the cpu
Lecture#06   inner workings of the cpuLecture#06   inner workings of the cpu
Lecture#06 inner workings of the cpu
 
B.sc cs-ii -u-1.2 digital logic circuits, digital component
B.sc cs-ii -u-1.2 digital logic circuits, digital componentB.sc cs-ii -u-1.2 digital logic circuits, digital component
B.sc cs-ii -u-1.2 digital logic circuits, digital component
 
Bca 2nd sem-u-1.2 digital logic circuits, digital component
Bca 2nd sem-u-1.2 digital logic circuits, digital componentBca 2nd sem-u-1.2 digital logic circuits, digital component
Bca 2nd sem-u-1.2 digital logic circuits, digital component
 
Unit2fit
Unit2fitUnit2fit
Unit2fit
 

More from Syed Zaid Irshad

Basic Concept of Information Technology
Basic Concept of Information TechnologyBasic Concept of Information Technology
Basic Concept of Information Technology
Syed Zaid Irshad
 
Introduction to ICS 1st Year Book
Introduction to ICS 1st Year BookIntroduction to ICS 1st Year Book
Introduction to ICS 1st Year Book
Syed Zaid Irshad
 

More from Syed Zaid Irshad (20)

Operating System.pdf
Operating System.pdfOperating System.pdf
Operating System.pdf
 
DBMS_Lab_Manual_&_Solution
DBMS_Lab_Manual_&_SolutionDBMS_Lab_Manual_&_Solution
DBMS_Lab_Manual_&_Solution
 
Data Structure and Algorithms.pptx
Data Structure and Algorithms.pptxData Structure and Algorithms.pptx
Data Structure and Algorithms.pptx
 
Design and Analysis of Algorithms.pptx
Design and Analysis of Algorithms.pptxDesign and Analysis of Algorithms.pptx
Design and Analysis of Algorithms.pptx
 
Professional Issues in Computing
Professional Issues in ComputingProfessional Issues in Computing
Professional Issues in Computing
 
Reduce course notes class xi
Reduce course notes class xiReduce course notes class xi
Reduce course notes class xi
 
Reduce course notes class xii
Reduce course notes class xiiReduce course notes class xii
Reduce course notes class xii
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
C Language
C LanguageC Language
C Language
 
Flowchart
FlowchartFlowchart
Flowchart
 
Algorithm Pseudo
Algorithm PseudoAlgorithm Pseudo
Algorithm Pseudo
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
 
ICS 2nd Year Book Introduction
ICS 2nd Year Book IntroductionICS 2nd Year Book Introduction
ICS 2nd Year Book Introduction
 
Security, Copyright and the Law
Security, Copyright and the LawSecurity, Copyright and the Law
Security, Copyright and the Law
 
Data Communication
Data CommunicationData Communication
Data Communication
 
Information Networks
Information NetworksInformation Networks
Information Networks
 
Basic Concept of Information Technology
Basic Concept of Information TechnologyBasic Concept of Information Technology
Basic Concept of Information Technology
 
Introduction to ICS 1st Year Book
Introduction to ICS 1st Year BookIntroduction to ICS 1st Year Book
Introduction to ICS 1st Year Book
 
Using the set operators
Using the set operatorsUsing the set operators
Using the set operators
 
Using subqueries to solve queries
Using subqueries to solve queriesUsing subqueries to solve queries
Using subqueries to solve queries
 

Recently uploaded

Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 

Recently uploaded (20)

VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Our Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdfOur Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 

Computer Architecture

  • 2. Outline – Important Definitions – Components of a Digital Computer – Computer Registers – Buses – Instructions – Stack Organized CPU – Internal Working of CPU
  • 3. Important Definitions – Computer Organization – How computer components works and how they work together with other components – Computer Design – Hardware design of computer – Computer Architecture – It is concerned with the structure and behaviour of the computer as seen by the user
  • 4. Components of a Digital Computer – Components of a Digital Computer can be classified into four which are following: – Input – Output – CPU – Memory
  • 5. Computer Registers – General purpose Register – Store Data Temporary – Accumulator – Store Data Temporary for Arithmetic/Logical Operations – Status Register – Carry, Zero, Sign, Parity flags, 1-bit – Memory Buffer Register – Store Data which is being used
  • 6. Computer Registers – Memory Address Register – Address of Data in MBR – Instruction Register – Instruction that is being used on Data – Program Counter – Store order of Execution – Stack Pointer – Set of Memory Locations
  • 7. Buses – There are three types of Buses called: – Address Bus – Address of Memory location travel on these paths – Data Bus – Required or Updated Data travel on these paths – Control Bus – It controls the reading and Writing of the Data
  • 8. Instructions – It is an order for a computer to perform a certain operations. – A typical instruction has two parts: – Operation Code – Means which of arithmetic or logical operation is required – Address – On which data or set of data will be used for the operation
  • 9. Instructions – Following are the types of Instruction Format: – Three-Address Instruction – Operation Code, Two Operand Address, One Result Address – Two-Address Instruction – Operation Code, One Operand Address, One Result Address – One-Address Instruction – Operation Code, One Operand Address – Zero-Address Instruction – Operation Code
  • 10. Stack Organized CPU – Stack store data in such manner that the last entry get to use first in order to retrieve the very first data. – Stack has two kind of Operation, PUSH & POP, Push insert the data into stack whereas Pop retrieve it. – Polish Notation is used in Stacks to perform the operation of data. – There are two types of Polish Notations: – Prefix (Polish) Notation – Postfix (Reverse Polish) Notation
  • 11. Stack Organized CPU – Infix Notation: 𝐴 + 𝐵, 𝐶 − 𝐷, 𝐸 ∗ 𝐹, 𝐺 𝐻 , 𝐴 + 𝐵 ∗ 𝐶, 𝐴 + (𝐵 ∗ 𝐶) – Prefix Notation: +𝐴𝐵, −𝐶𝐷,∗ 𝐸𝐹,/𝐺𝐻, +𝐴𝐵 ∗ 𝐶,∗ 𝐵𝐶 + 𝐴 – Postfix Notation: 𝐴𝐵+, 𝐶𝐷−, 𝐸𝐹 ∗, 𝐺𝐻/, 𝐴𝐵 + 𝐶 ∗, 𝐵𝐶 ∗ 𝐴 +
  • 12. Stack Organized CPU – Example: 4 ∗ 3 1 + 5 – Postfix Expression: 4 3 ∗ 1/5 + 4 Stage 1 3 4 Stage 2 12 Stage 3 1 12 Stage 4 12 Stage 5 5 12 Stage 6 17 Stage 7
  • 13. Internal Working of CPU – CPU is the unit that take the input, perform some operations and provide the store the output in memory. – This whole process is done in mainly two steps: – Fetch – Execute – Which are known as Instruction Cycle.
  • 14. Internal Working of CPU – In Fetching Process following registers are used: – Instruction Register – Memory Buffer Register – Program Counter – Memory Address Register – In Execution Process: – Instruction Register holds – Operation code – Address of Operand