SlideShare a Scribd company logo
1 of 7
īƒ To perform a given 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 stored are also stored in the memory.
Examples: - Add LOCA, R0
īƒ This instruction adds the operand at memory location LOCA, to operand
in register R0 & places the sum into register.This instruction requires the
performance of several steps,
1. First the instruction is fetched from the memory into the processor.
2.The operand at LOCA is fetched and added to the contents of R0
3. Finally the resulting sum is stored in the register R0
BASIC OPERATIONAL CONCEPTS OF
COMPUTER
BASIC OPERATIONAL CONCEPTS OF
COMPUTER
īƒ The preceding add instruction combines a memory access operation
with an ALU Operations. In some other type of computers, these
two types of operations are performed by separate instructions for
performance reasons.
Load LOCA, R1
Add R1, R0
īƒ  Transfers between the memory and the processor are started by
sending the address of the memory location to be accessed to the
memory unit and issuing the appropriate control signals. The data
are then transferred to or from the memory
BASIC OPERATIONAL CONCEPTS OF
COMPUTER
COMPUTER
īƒ The fig shows how memory & the processor can be connected. In
addition to the ALU & the control circuitry, the processor contains a
number of registers used for several different purposes.
īƒ The instruction register (IR):- Holds the instructions that is
currently being executed. Its output is available for the control
circuits which generates the timing signals that control the various
processing elements in one execution of instruction.
īƒ The program counter PC:-
īƒ This is another specialized register that keeps track of execution of a
program. It contains the memory address of the next instruction to
be fetched and executed.
īƒ Besides IR and PC, there are n-general purpose registers R0
through Rn-1.
BASIC OPERATIONAL CONCEPTS OF
COMPUTER
The other two registers which facilitate communication with memory
are: -
1. MAR – (Memory Address Register):- It holds the address of
the location to be accessed.
2. MDR – (Memory Data Register):- It contains the data to be
written into or read out of the address location.
Operating steps are
1. Programs reside in the memory & usually get these through the I/P
unit.
2. Execution of the program starts when the PC is set to point at the
first instruction of the program.
3. Contents of PC are transferred to MAR and a Read Control Signal is
sent to the memory.
BASIC OPERATIONAL CONCEPTS OF
COMPUTER
4. After the time required to access the memory elapses, the address
word is read out of the memory and loaded into the MDR.
5. Now contents of MDR are transferred to the IR & now the
instruction is ready to be decoded and executed.
6. If the instruction involves an operation by the ALU, it is necessary to
obtain the required operands.
7. An operand in the memory is fetched by sending its address to MAR
& Initiating a read cycle.
8. When the operand has been read from the memory to the MDR, it
is transferred from MDR to the ALU.
9. After one or two such repeated cycles, the ALU can perform the
desired operation.
BASIC OPERATIONAL CONCEPTS OF
COMPUTER
10. If the result of this operation is to be stored in the memory, the
result is sent to MDR.
11. Address of location where the result is stored is sent to MAR & a
write cycle is initiated.
12. The contents of PC are incremented so that PC points to the next
instruction that is to be executed.
īƒ Normal execution of a program may be preempted (temporarily
interrupted) if some devices require urgent servicing, to do this one
device raises an Interrupt signal.
īƒ An interrupt is a request signal from an I/O device for service by the
processor. The processor provides the requested service by
executing an appropriate interrupt service routine.

More Related Content

What's hot

Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control UnitPreethiSureshkumar1
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stackAsif Iqbal
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle pptsheetal singh
 
Instruction format
Instruction formatInstruction format
Instruction formatSanjeev Patel
 
Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unitAnuj Modi
 
memory reference instruction
memory reference instructionmemory reference instruction
memory reference instructionDeepikaT13
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operationNikhil Pandit
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organizationMazin Alwaaly
 
Types of Instruction Format
Types of Instruction FormatTypes of Instruction Format
Types of Instruction FormatDhrumil Panchal
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Gaditek
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controllerTech_MX
 
Control Unit Design
Control Unit DesignControl Unit Design
Control Unit DesignVinit Raut
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction SetDr. Pankaj Zope
 
Program control instructions
Program control instructionsProgram control instructions
Program control instructionsDr. Girish GS
 
Computer instructions
Computer instructionsComputer instructions
Computer instructionsAnuj Modi
 
Addressing modes ppt
Addressing modes pptAddressing modes ppt
Addressing modes pptsanjay pachauri
 

What's hot (20)

Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stack
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
 
Instruction format
Instruction formatInstruction format
Instruction format
 
Basic Computer Organization and Design
Basic  Computer  Organization  and  DesignBasic  Computer  Organization  and  Design
Basic Computer Organization and Design
 
Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unit
 
memory reference instruction
memory reference instructionmemory reference instruction
memory reference instruction
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operation
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 
Types of Instruction Format
Types of Instruction FormatTypes of Instruction Format
Types of Instruction Format
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
 
Hardwired control
Hardwired controlHardwired control
Hardwired control
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 
Cpu organisation
Cpu organisationCpu organisation
Cpu organisation
 
Control Unit Design
Control Unit DesignControl Unit Design
Control Unit Design
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 
Program control instructions
Program control instructionsProgram control instructions
Program control instructions
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Addressing modes ppt
Addressing modes pptAddressing modes ppt
Addressing modes ppt
 

Similar to How Computers Execute Instructions and Transfer Data

INSTRUCTION TYPES
INSTRUCTION TYPESINSTRUCTION TYPES
INSTRUCTION TYPESdevi195058
 
unit-i.pdf
unit-i.pdfunit-i.pdf
unit-i.pdfRISHI643981
 
09 the fetch-execute cycle ii
09   the fetch-execute cycle ii09   the fetch-execute cycle ii
09 the fetch-execute cycle iiPoonal Asas
 
Intro to cao &store program
Intro to cao &store programIntro to cao &store program
Intro to cao &store programMahesh Kumar Attri
 
comp. org Chapter 1
comp. org Chapter 1comp. org Chapter 1
comp. org Chapter 1Rajat Sharma
 
COA-Unit-1-Basics.ppt
COA-Unit-1-Basics.pptCOA-Unit-1-Basics.ppt
COA-Unit-1-Basics.pptRuhul Amin
 
module 1 computer architecture diploma
 module 1 computer architecture diploma   module 1 computer architecture diploma
module 1 computer architecture diploma Manoharan Ragavan
 
COMPUTER ORGNAIZATION NOTES
COMPUTER ORGNAIZATION NOTESCOMPUTER ORGNAIZATION NOTES
COMPUTER ORGNAIZATION NOTESDr.MAYA NAYAK
 
Bca examination 2016 csa
Bca examination 2016 csaBca examination 2016 csa
Bca examination 2016 csaAnjaan Gajendra
 
Precessor organization
Precessor organizationPrecessor organization
Precessor organizationAsif Iqbal
 
Coa module2
Coa module2Coa module2
Coa module2cs19club
 
basic structure of computers
basic structure of computersbasic structure of computers
basic structure of computersHimanshu Chawla
 
Unit 1 basic structure of computers
Unit 1   basic structure of computersUnit 1   basic structure of computers
Unit 1 basic structure of computerschidabdu
 

Similar to How Computers Execute Instructions and Transfer Data (20)

DLD1.pdf
DLD1.pdfDLD1.pdf
DLD1.pdf
 
INSTRUCTION TYPES
INSTRUCTION TYPESINSTRUCTION TYPES
INSTRUCTION TYPES
 
Computer organization
Computer organizationComputer organization
Computer organization
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
unit-i.pdf
unit-i.pdfunit-i.pdf
unit-i.pdf
 
lecture 1(1).ppt
lecture 1(1).pptlecture 1(1).ppt
lecture 1(1).ppt
 
09 the fetch-execute cycle ii
09   the fetch-execute cycle ii09   the fetch-execute cycle ii
09 the fetch-execute cycle ii
 
Intro to cao &store program
Intro to cao &store programIntro to cao &store program
Intro to cao &store program
 
comp. org Chapter 1
comp. org Chapter 1comp. org Chapter 1
comp. org Chapter 1
 
COA-Unit-1-Basics.ppt
COA-Unit-1-Basics.pptCOA-Unit-1-Basics.ppt
COA-Unit-1-Basics.ppt
 
module 1 computer architecture diploma
 module 1 computer architecture diploma   module 1 computer architecture diploma
module 1 computer architecture diploma
 
Co notes3 sem
Co notes3 semCo notes3 sem
Co notes3 sem
 
Unit 2
Unit 2Unit 2
Unit 2
 
Unit 2
Unit 2Unit 2
Unit 2
 
COMPUTER ORGNAIZATION NOTES
COMPUTER ORGNAIZATION NOTESCOMPUTER ORGNAIZATION NOTES
COMPUTER ORGNAIZATION NOTES
 
Bca examination 2016 csa
Bca examination 2016 csaBca examination 2016 csa
Bca examination 2016 csa
 
Precessor organization
Precessor organizationPrecessor organization
Precessor organization
 
Coa module2
Coa module2Coa module2
Coa module2
 
basic structure of computers
basic structure of computersbasic structure of computers
basic structure of computers
 
Unit 1 basic structure of computers
Unit 1   basic structure of computersUnit 1   basic structure of computers
Unit 1 basic structure of computers
 

More from gaurav jain

High level languages representation
High level languages representationHigh level languages representation
High level languages representationgaurav jain
 
Functional units of computer
Functional units of computerFunctional units of computer
Functional units of computergaurav jain
 
Stored program concept
Stored program conceptStored program concept
Stored program conceptgaurav jain
 
Assembly language
Assembly languageAssembly language
Assembly languagegaurav jain
 
Programming languages
Programming languagesProgramming languages
Programming languagesgaurav jain
 
Comprehensive interventions
Comprehensive interventionsComprehensive interventions
Comprehensive interventionsgaurav jain
 
Personal intervention
Personal interventionPersonal intervention
Personal interventiongaurav jain
 
Od interventions
Od interventionsOd interventions
Od interventionsgaurav jain
 
Interpersonal and group process interventions
Interpersonal and group process interventionsInterpersonal and group process interventions
Interpersonal and group process interventionsgaurav jain
 
Organizational effectiveness
Organizational effectivenessOrganizational effectiveness
Organizational effectivenessgaurav jain
 
Organizational change and development
Organizational change and developmentOrganizational change and development
Organizational change and developmentgaurav jain
 
Definition and nature of organizational development
Definition and nature of organizational developmentDefinition and nature of organizational development
Definition and nature of organizational developmentgaurav jain
 
Change agent
Change agentChange agent
Change agentgaurav jain
 
Service sector and economic, growth
Service sector and economic, growthService sector and economic, growth
Service sector and economic, growthgaurav jain
 
Service concept, characteristic and classification
Service concept, characteristic and classificationService concept, characteristic and classification
Service concept, characteristic and classificationgaurav jain
 
Relationship marketing concept, process and importance
Relationship marketing concept, process and importanceRelationship marketing concept, process and importance
Relationship marketing concept, process and importancegaurav jain
 
Marketing for non profit organizations
Marketing for non profit organizationsMarketing for non profit organizations
Marketing for non profit organizationsgaurav jain
 
Creating and delivering services
Creating and delivering servicesCreating and delivering services
Creating and delivering servicesgaurav jain
 
Securing the e marketing site
Securing  the e marketing siteSecuring  the e marketing site
Securing the e marketing sitegaurav jain
 
Ongoing customer communication in e marketing
Ongoing customer communication in e marketingOngoing customer communication in e marketing
Ongoing customer communication in e marketinggaurav jain
 

More from gaurav jain (20)

High level languages representation
High level languages representationHigh level languages representation
High level languages representation
 
Functional units of computer
Functional units of computerFunctional units of computer
Functional units of computer
 
Stored program concept
Stored program conceptStored program concept
Stored program concept
 
Assembly language
Assembly languageAssembly language
Assembly language
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Comprehensive interventions
Comprehensive interventionsComprehensive interventions
Comprehensive interventions
 
Personal intervention
Personal interventionPersonal intervention
Personal intervention
 
Od interventions
Od interventionsOd interventions
Od interventions
 
Interpersonal and group process interventions
Interpersonal and group process interventionsInterpersonal and group process interventions
Interpersonal and group process interventions
 
Organizational effectiveness
Organizational effectivenessOrganizational effectiveness
Organizational effectiveness
 
Organizational change and development
Organizational change and developmentOrganizational change and development
Organizational change and development
 
Definition and nature of organizational development
Definition and nature of organizational developmentDefinition and nature of organizational development
Definition and nature of organizational development
 
Change agent
Change agentChange agent
Change agent
 
Service sector and economic, growth
Service sector and economic, growthService sector and economic, growth
Service sector and economic, growth
 
Service concept, characteristic and classification
Service concept, characteristic and classificationService concept, characteristic and classification
Service concept, characteristic and classification
 
Relationship marketing concept, process and importance
Relationship marketing concept, process and importanceRelationship marketing concept, process and importance
Relationship marketing concept, process and importance
 
Marketing for non profit organizations
Marketing for non profit organizationsMarketing for non profit organizations
Marketing for non profit organizations
 
Creating and delivering services
Creating and delivering servicesCreating and delivering services
Creating and delivering services
 
Securing the e marketing site
Securing  the e marketing siteSecuring  the e marketing site
Securing the e marketing site
 
Ongoing customer communication in e marketing
Ongoing customer communication in e marketingOngoing customer communication in e marketing
Ongoing customer communication in e marketing
 

Recently uploaded

ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Visit to a blind student's school🧑‍đŸĻ¯đŸ§‘‍đŸĻ¯(community medicine)
Visit to a blind student's school🧑‍đŸĻ¯đŸ§‘‍đŸĻ¯(community medicine)Visit to a blind student's school🧑‍đŸĻ¯đŸ§‘‍đŸĻ¯(community medicine)
Visit to a blind student's school🧑‍đŸĻ¯đŸ§‘‍đŸĻ¯(community medicine)lakshayb543
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A BeÃąa
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 

Recently uploaded (20)

ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Visit to a blind student's school🧑‍đŸĻ¯đŸ§‘‍đŸĻ¯(community medicine)
Visit to a blind student's school🧑‍đŸĻ¯đŸ§‘‍đŸĻ¯(community medicine)Visit to a blind student's school🧑‍đŸĻ¯đŸ§‘‍đŸĻ¯(community medicine)
Visit to a blind student's school🧑‍đŸĻ¯đŸ§‘‍đŸĻ¯(community medicine)
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 

How Computers Execute Instructions and Transfer Data

  • 1. īƒ To perform a given 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 stored are also stored in the memory. Examples: - Add LOCA, R0 īƒ This instruction adds the operand at memory location LOCA, to operand in register R0 & places the sum into register.This instruction requires the performance of several steps, 1. First the instruction is fetched from the memory into the processor. 2.The operand at LOCA is fetched and added to the contents of R0 3. Finally the resulting sum is stored in the register R0 BASIC OPERATIONAL CONCEPTS OF COMPUTER
  • 2. BASIC OPERATIONAL CONCEPTS OF COMPUTER īƒ The preceding add instruction combines a memory access operation with an ALU Operations. In some other type of computers, these two types of operations are performed by separate instructions for performance reasons. Load LOCA, R1 Add R1, R0 īƒ  Transfers between the memory and the processor are started by sending the address of the memory location to be accessed to the memory unit and issuing the appropriate control signals. The data are then transferred to or from the memory
  • 4. COMPUTER īƒ The fig shows how memory & the processor can be connected. In addition to the ALU & the control circuitry, the processor contains a number of registers used for several different purposes. īƒ The instruction register (IR):- Holds the instructions that is currently being executed. Its output is available for the control circuits which generates the timing signals that control the various processing elements in one execution of instruction. īƒ The program counter PC:- īƒ This is another specialized register that keeps track of execution of a program. It contains the memory address of the next instruction to be fetched and executed. īƒ Besides IR and PC, there are n-general purpose registers R0 through Rn-1.
  • 5. BASIC OPERATIONAL CONCEPTS OF COMPUTER The other two registers which facilitate communication with memory are: - 1. MAR – (Memory Address Register):- It holds the address of the location to be accessed. 2. MDR – (Memory Data Register):- It contains the data to be written into or read out of the address location. Operating steps are 1. Programs reside in the memory & usually get these through the I/P unit. 2. Execution of the program starts when the PC is set to point at the first instruction of the program. 3. Contents of PC are transferred to MAR and a Read Control Signal is sent to the memory.
  • 6. BASIC OPERATIONAL CONCEPTS OF COMPUTER 4. After the time required to access the memory elapses, the address word is read out of the memory and loaded into the MDR. 5. Now contents of MDR are transferred to the IR & now the instruction is ready to be decoded and executed. 6. If the instruction involves an operation by the ALU, it is necessary to obtain the required operands. 7. An operand in the memory is fetched by sending its address to MAR & Initiating a read cycle. 8. When the operand has been read from the memory to the MDR, it is transferred from MDR to the ALU. 9. After one or two such repeated cycles, the ALU can perform the desired operation.
  • 7. BASIC OPERATIONAL CONCEPTS OF COMPUTER 10. If the result of this operation is to be stored in the memory, the result is sent to MDR. 11. Address of location where the result is stored is sent to MAR & a write cycle is initiated. 12. The contents of PC are incremented so that PC points to the next instruction that is to be executed. īƒ Normal execution of a program may be preempted (temporarily interrupted) if some devices require urgent servicing, to do this one device raises an Interrupt signal. īƒ An interrupt is a request signal from an I/O device for service by the processor. The processor provides the requested service by executing an appropriate interrupt service routine.