SlideShare a Scribd company logo
SNS COLLEGE OF ENGINEERING
Kurumbapalayam(Po), Coimbatore – 641 107
Accredited by NAAC-UGC with ‘A’ Grade
Approved by AICTE, Recognized by UGC & Affiliated to Anna University, Chennai
Department of Information Technology
Course Name – 19IT301 Computer Organization and
Architecture
II Year / III Semester
Unit 1 – Basic Structures of Computers
Topic :Functional Units , Basic Operational Concept
11/08/2023 2/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
Functional Units
11/08/2023 3/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
Information Handled by a Computer
management
Instructions/machine instructions
Govern the transfer of information within a computer as well as between the computer and its
I/O devices
Specify the arithmetic and logic operations to be performed
Program
Data
Used as operands by the instructions Source program
11/08/2023 4/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
Memory Unit
 Store programs and data
 Two classes of storage
Primary storage
 Fast
 Programs must be stored in memory while they are being executed Large number of
semiconductor storage cells
 Processed in words Address
 RAM and memory access time
 Memory hierarchy – cache, main memory
 Secondary storage – larger and cheaper
management
11/08/2023 5/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
Arithmetic and Logic Unit (ALU)
 Most computer operations are executed in ALU of the processor.
 Load the operands into memory – bring them to the processor – perform operation in
ALU – store the result back to memory or retain in the processor.
 Registers
 Fast control of ALU
management
11/08/2023 6/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
Control Unit
 All computer operations are controlled by the control unit.
 The timing signals that govern the I/O transfers are also generated by the control unit.
 Control unit is usually distributed throughout the machine instead of standing alone.
 Operations of a computer:
 Accept information in the form of programs and data through an input unit and store it in
the memory
 Fetch the information stored in the memory, under program control, into an ALU, where
the information is processed
 Output the processed information through an output unit Control all activities inside the
machine through a control unit
management
11/08/2023 7/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
The processor : Data Path and Control
11/08/2023 8/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
Instruction Execution Steps
management
11/08/2023 9/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
Basic Operational Steps
 Activity in a computer is governed by instructions.
 To perform a task, an appropriate program consisting of a list of instructions is stored in
the memory.
 Individual instructions are brought from the memory into the processor, which executes
the specified operations.
 Data to be used as operands are also stored in the memory.
11/08/2023 10/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
Typical Instruction
 Add LOCA, R0
 Add the operand at memory location LOCA to the operand in a register R0 in the
processor.
 Place the sum into register R0.
 The original contents of LOCA are preserved. The original contents of R0 is overwritten.
 Instruction is fetched from the memory into the processor – the operand at LOCA is
fetched and added to the contents of R0 – the resulting sum is stored in register R0.
 Load LOCA, R1
 Add R1, R0
management
11/08/2023 11/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
management
Connections between processor and memory
11/08/2023 12/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
Registers
management
 Instruction register (IR)
 Program counter (PC)
 General-purpose register (R0 – Rn-1)
 Memory address register (MAR)
 Memory data register (MDR)
11/08/2023 13/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
Typical Operating Steps
 Programs reside in the memory through input devices
 PC is set to point to the first instruction
 The contents of PC are transferred to MAR
 A Read signal is sent to the memory
 The first instruction is read out and loaded into MDR
 The contents of MDR are transferred to IR
 Decode and execute the instruction
management
11/08/2023 14/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
Typical Operating Steps
 Get operands for ALU
 General-purpose register
 Memory (address to MAR – Read – MDR to ALU)
 Perform operation in ALU
 Store the result back
 To general-purpose register
 To memory (address to MAR, result to MDR – Write)
 During the execution, PC is incremented to the next instruction
management
11/08/2023 15/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
Interrupt
 Normal execution of programs may be preempted if some device requires urgent
servicing.
 The normal execution of the current program must be interrupted – the device raises an
interrupt signal.
 Interrupt-service routine
 Current system information backup and restore (PC, general-purpose registers, control
information, specific information)
management
11/08/2023 16/16
Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE
THANK YOU

More Related Content

Similar to TOPIC 1.ppt

comp. org Chapter 1
comp. org Chapter 1comp. org Chapter 1
comp. org Chapter 1Rajat Sharma
 
Ise iv-computer organization [10 cs46]-notes new
Ise iv-computer  organization [10 cs46]-notes newIse iv-computer  organization [10 cs46]-notes new
Ise iv-computer organization [10 cs46]-notes newdilshad begum
 
Computer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersComputer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersappasami
 
Computer Organization (1).pdf
Computer Organization (1).pdfComputer Organization (1).pdf
Computer Organization (1).pdfmysthicrious
 
COMPUTER_ORGANIZATION.ppt
COMPUTER_ORGANIZATION.pptCOMPUTER_ORGANIZATION.ppt
COMPUTER_ORGANIZATION.pptAtul Kumar Rana
 
COMPUTERS IN EDUCATION - UNIT 1 - INTRODUCTION TO COMPUTER - B.ED - 8620 - AIOU
COMPUTERS IN EDUCATION - UNIT 1 - INTRODUCTION TO COMPUTER - B.ED - 8620 - AIOUCOMPUTERS IN EDUCATION - UNIT 1 - INTRODUCTION TO COMPUTER - B.ED - 8620 - AIOU
COMPUTERS IN EDUCATION - UNIT 1 - INTRODUCTION TO COMPUTER - B.ED - 8620 - AIOUEqraBaig
 
Basic structure of computers
Basic structure of computersBasic structure of computers
Basic structure of computersKumar
 
Basic structure of computers
Basic structure of computersBasic structure of computers
Basic structure of computersKumar
 
INSTRUCTION TYPES
INSTRUCTION TYPESINSTRUCTION TYPES
INSTRUCTION TYPESdevi195058
 
BASIC COMPUTER ORGANIZATION unit 1.pptx
BASIC COMPUTER ORGANIZATION unit 1.pptxBASIC COMPUTER ORGANIZATION unit 1.pptx
BASIC COMPUTER ORGANIZATION unit 1.pptxkarthikaparthasarath
 
chapter 1 -Basic Structure of Computers.ppt
chapter 1 -Basic Structure of Computers.pptchapter 1 -Basic Structure of Computers.ppt
chapter 1 -Basic Structure of Computers.pptsandeepPingili1
 
chapter1-basicstructureofcomputers.ppt
chapter1-basicstructureofcomputers.pptchapter1-basicstructureofcomputers.ppt
chapter1-basicstructureofcomputers.pptKarrarIbrahimAbdAlam
 
Basic ops concept of comp
Basic ops  concept of compBasic ops  concept of comp
Basic ops concept of compgaurav jain
 
Chapter 1 basic structure of computers
Chapter 1  basic structure of computersChapter 1  basic structure of computers
Chapter 1 basic structure of computersGurpreet Singh
 
Chapter1_OS_Overview.pptx
Chapter1_OS_Overview.pptxChapter1_OS_Overview.pptx
Chapter1_OS_Overview.pptxDenisPriscus
 
COMPUTER ORGNAIZATION NOTES
COMPUTER ORGNAIZATION NOTESCOMPUTER ORGNAIZATION NOTES
COMPUTER ORGNAIZATION NOTESDr.MAYA NAYAK
 

Similar to TOPIC 1.ppt (20)

computer Architecture
computer Architecturecomputer Architecture
computer Architecture
 
unit-i.pdf
unit-i.pdfunit-i.pdf
unit-i.pdf
 
Co notes3 sem
Co notes3 semCo notes3 sem
Co notes3 sem
 
comp. org Chapter 1
comp. org Chapter 1comp. org Chapter 1
comp. org Chapter 1
 
Ise iv-computer organization [10 cs46]-notes new
Ise iv-computer  organization [10 cs46]-notes newIse iv-computer  organization [10 cs46]-notes new
Ise iv-computer organization [10 cs46]-notes new
 
Computer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersComputer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answers
 
Computer Organization (1).pdf
Computer Organization (1).pdfComputer Organization (1).pdf
Computer Organization (1).pdf
 
COMPUTER_ORGANIZATION.ppt
COMPUTER_ORGANIZATION.pptCOMPUTER_ORGANIZATION.ppt
COMPUTER_ORGANIZATION.ppt
 
COMPUTERS IN EDUCATION - UNIT 1 - INTRODUCTION TO COMPUTER - B.ED - 8620 - AIOU
COMPUTERS IN EDUCATION - UNIT 1 - INTRODUCTION TO COMPUTER - B.ED - 8620 - AIOUCOMPUTERS IN EDUCATION - UNIT 1 - INTRODUCTION TO COMPUTER - B.ED - 8620 - AIOU
COMPUTERS IN EDUCATION - UNIT 1 - INTRODUCTION TO COMPUTER - B.ED - 8620 - AIOU
 
Basic structure of computers
Basic structure of computersBasic structure of computers
Basic structure of computers
 
Basic structure of computers
Basic structure of computersBasic structure of computers
Basic structure of computers
 
INSTRUCTION TYPES
INSTRUCTION TYPESINSTRUCTION TYPES
INSTRUCTION TYPES
 
BASIC COMPUTER ORGANIZATION unit 1.pptx
BASIC COMPUTER ORGANIZATION unit 1.pptxBASIC COMPUTER ORGANIZATION unit 1.pptx
BASIC COMPUTER ORGANIZATION unit 1.pptx
 
chapter 1 -Basic Structure of Computers.ppt
chapter 1 -Basic Structure of Computers.pptchapter 1 -Basic Structure of Computers.ppt
chapter 1 -Basic Structure of Computers.ppt
 
UNIT I.ppt
UNIT I.pptUNIT I.ppt
UNIT I.ppt
 
chapter1-basicstructureofcomputers.ppt
chapter1-basicstructureofcomputers.pptchapter1-basicstructureofcomputers.ppt
chapter1-basicstructureofcomputers.ppt
 
Basic ops concept of comp
Basic ops  concept of compBasic ops  concept of comp
Basic ops concept of comp
 
Chapter 1 basic structure of computers
Chapter 1  basic structure of computersChapter 1  basic structure of computers
Chapter 1 basic structure of computers
 
Chapter1_OS_Overview.pptx
Chapter1_OS_Overview.pptxChapter1_OS_Overview.pptx
Chapter1_OS_Overview.pptx
 
COMPUTER ORGNAIZATION NOTES
COMPUTER ORGNAIZATION NOTESCOMPUTER ORGNAIZATION NOTES
COMPUTER ORGNAIZATION NOTES
 

Recently uploaded

Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringC Sai Kiran
 
一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单
一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单
一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单tuuww
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdfKamal Acharya
 
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...Amil baba
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edgePaco Orozco
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdfKamal Acharya
 
1. Henrich Triangle Safety and Fire Presentation
1. Henrich Triangle Safety and Fire Presentation1. Henrich Triangle Safety and Fire Presentation
1. Henrich Triangle Safety and Fire PresentationBhuwanAgrawal8
 
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfRESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Pharmacy management system project report..pdf
Pharmacy management system project report..pdfPharmacy management system project report..pdf
Pharmacy management system project report..pdfKamal Acharya
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Lovely Professional University
 
internship exam ppt.pptx on embedded system and IOT
internship exam ppt.pptx on embedded system and IOTinternship exam ppt.pptx on embedded system and IOT
internship exam ppt.pptx on embedded system and IOTNavyashreeS6
 
Lect 2 - Design of slender column-2.pptx
Lect 2 - Design of slender column-2.pptxLect 2 - Design of slender column-2.pptx
Lect 2 - Design of slender column-2.pptxHamzaKhawar4
 
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5T.D. Shashikala
 
Electrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineElectrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineJulioCesarSalazarHer1
 
Teachers record management system project report..pdf
Teachers record management system project report..pdfTeachers record management system project report..pdf
Teachers record management system project report..pdfKamal Acharya
 
retail automation billing system ppt.pptx
retail automation billing system ppt.pptxretail automation billing system ppt.pptx
retail automation billing system ppt.pptxfaamieahmd
 
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringDr. Radhey Shyam
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopEmre Günaydın
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdfKamal Acharya
 

Recently uploaded (20)

Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
 
一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单
一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单
一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
 
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdf
 
1. Henrich Triangle Safety and Fire Presentation
1. Henrich Triangle Safety and Fire Presentation1. Henrich Triangle Safety and Fire Presentation
1. Henrich Triangle Safety and Fire Presentation
 
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfRESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
 
Pharmacy management system project report..pdf
Pharmacy management system project report..pdfPharmacy management system project report..pdf
Pharmacy management system project report..pdf
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
 
internship exam ppt.pptx on embedded system and IOT
internship exam ppt.pptx on embedded system and IOTinternship exam ppt.pptx on embedded system and IOT
internship exam ppt.pptx on embedded system and IOT
 
Lect 2 - Design of slender column-2.pptx
Lect 2 - Design of slender column-2.pptxLect 2 - Design of slender column-2.pptx
Lect 2 - Design of slender column-2.pptx
 
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
 
Electrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineElectrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission line
 
Teachers record management system project report..pdf
Teachers record management system project report..pdfTeachers record management system project report..pdf
Teachers record management system project report..pdf
 
retail automation billing system ppt.pptx
retail automation billing system ppt.pptxretail automation billing system ppt.pptx
retail automation billing system ppt.pptx
 
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering Workshop
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 

TOPIC 1.ppt

  • 1. SNS COLLEGE OF ENGINEERING Kurumbapalayam(Po), Coimbatore – 641 107 Accredited by NAAC-UGC with ‘A’ Grade Approved by AICTE, Recognized by UGC & Affiliated to Anna University, Chennai Department of Information Technology Course Name – 19IT301 Computer Organization and Architecture II Year / III Semester Unit 1 – Basic Structures of Computers Topic :Functional Units , Basic Operational Concept
  • 2. 11/08/2023 2/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE Functional Units
  • 3. 11/08/2023 3/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE Information Handled by a Computer management Instructions/machine instructions Govern the transfer of information within a computer as well as between the computer and its I/O devices Specify the arithmetic and logic operations to be performed Program Data Used as operands by the instructions Source program
  • 4. 11/08/2023 4/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE Memory Unit  Store programs and data  Two classes of storage Primary storage  Fast  Programs must be stored in memory while they are being executed Large number of semiconductor storage cells  Processed in words Address  RAM and memory access time  Memory hierarchy – cache, main memory  Secondary storage – larger and cheaper management
  • 5. 11/08/2023 5/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE Arithmetic and Logic Unit (ALU)  Most computer operations are executed in ALU of the processor.  Load the operands into memory – bring them to the processor – perform operation in ALU – store the result back to memory or retain in the processor.  Registers  Fast control of ALU management
  • 6. 11/08/2023 6/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE Control Unit  All computer operations are controlled by the control unit.  The timing signals that govern the I/O transfers are also generated by the control unit.  Control unit is usually distributed throughout the machine instead of standing alone.  Operations of a computer:  Accept information in the form of programs and data through an input unit and store it in the memory  Fetch the information stored in the memory, under program control, into an ALU, where the information is processed  Output the processed information through an output unit Control all activities inside the machine through a control unit management
  • 7. 11/08/2023 7/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE The processor : Data Path and Control
  • 8. 11/08/2023 8/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE Instruction Execution Steps management
  • 9. 11/08/2023 9/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE Basic Operational Steps  Activity in a computer is governed by instructions.  To perform a task, an appropriate program consisting of a list of instructions is stored in the memory.  Individual instructions are brought from the memory into the processor, which executes the specified operations.  Data to be used as operands are also stored in the memory.
  • 10. 11/08/2023 10/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE Typical Instruction  Add LOCA, R0  Add the operand at memory location LOCA to the operand in a register R0 in the processor.  Place the sum into register R0.  The original contents of LOCA are preserved. The original contents of R0 is overwritten.  Instruction is fetched from the memory into the processor – the operand at LOCA is fetched and added to the contents of R0 – the resulting sum is stored in register R0.  Load LOCA, R1  Add R1, R0 management
  • 11. 11/08/2023 11/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE management Connections between processor and memory
  • 12. 11/08/2023 12/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE Registers management  Instruction register (IR)  Program counter (PC)  General-purpose register (R0 – Rn-1)  Memory address register (MAR)  Memory data register (MDR)
  • 13. 11/08/2023 13/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE Typical Operating Steps  Programs reside in the memory through input devices  PC is set to point to the first instruction  The contents of PC are transferred to MAR  A Read signal is sent to the memory  The first instruction is read out and loaded into MDR  The contents of MDR are transferred to IR  Decode and execute the instruction management
  • 14. 11/08/2023 14/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE Typical Operating Steps  Get operands for ALU  General-purpose register  Memory (address to MAR – Read – MDR to ALU)  Perform operation in ALU  Store the result back  To general-purpose register  To memory (address to MAR, result to MDR – Write)  During the execution, PC is incremented to the next instruction management
  • 15. 11/08/2023 15/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE Interrupt  Normal execution of programs may be preempted if some device requires urgent servicing.  The normal execution of the current program must be interrupted – the device raises an interrupt signal.  Interrupt-service routine  Current system information backup and restore (PC, general-purpose registers, control information, specific information) management
  • 16. 11/08/2023 16/16 Functional Units , Basic Operational Concept/Nandakumar/IT/SNSCE THANK YOU