SlideShare a Scribd company logo
1 of 10
Download to read offline
Index registers
BY:
U F
What are index registers?
Area of memory assigned to a processor.
Can store addresses of elements of an array.
Low level areas Of memory.
Usually accessible though assembly
language.
Why are they used?
Used for very fast counter for stepping
through memory address.
To keep track such as looping.
Holds current offset of a memory location.
What’s an offset ???
A process that specifies number of bytes
in memory
Starting at one point, moving by the
offset, seeing where you are now.
Types of index Registers
1. Source index :
Points to memory location in data
segment.
Its offset is relative to data segment.
16 bits memory.
2. Destination index :
Same as source index.
String operations uses destination
index to access memory location.
3. Stack Pointer:
Points at program stack.
Used in conjunction with stack segment for
accessing stack segment.
Points at top most item of stack.
Offset address is relative to stack segment.
4. Base Pointer :
Points data in stack segment.
Unlike stack pointer we can use base
pointer to access data in other
segments.
Offset address is relative to base
segment.
5. Instruction pointer register
It is a control register.
Holds location of next instruction in
pipeline.
 Increments itself after every
instruction.
6. Flag Register:
 Holds current status of program.

More Related Content

Similar to Index registers in Central Processing Unit

Similar to Index registers in Central Processing Unit (20)

Code scheduling constraints
Code scheduling constraintsCode scheduling constraints
Code scheduling constraints
 
Bab 4
Bab 4Bab 4
Bab 4
 
Advanced computer architect lesson 3 and 4
Advanced computer architect lesson 3 and 4Advanced computer architect lesson 3 and 4
Advanced computer architect lesson 3 and 4
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
Symbol Table, Error Handler & Code Generation
Symbol Table, Error Handler & Code GenerationSymbol Table, Error Handler & Code Generation
Symbol Table, Error Handler & Code Generation
 
register
registerregister
register
 
Instruction-Sets-2.pptx
Instruction-Sets-2.pptxInstruction-Sets-2.pptx
Instruction-Sets-2.pptx
 
Internal microprocessor architecture
Internal microprocessor architectureInternal microprocessor architecture
Internal microprocessor architecture
 
intel 8086 introduction
intel 8086 introductionintel 8086 introduction
intel 8086 introduction
 
8051 Programming (1).pptx
8051 Programming (1).pptx8051 Programming (1).pptx
8051 Programming (1).pptx
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Memory Organization.pdf
Memory Organization.pdfMemory Organization.pdf
Memory Organization.pdf
 
computer architecture and organization.pptx
computer architecture and organization.pptxcomputer architecture and organization.pptx
computer architecture and organization.pptx
 
Register & Memory
Register & MemoryRegister & Memory
Register & Memory
 
Addressing modes Breifly
Addressing modes BreiflyAddressing modes Breifly
Addressing modes Breifly
 
Memory Managment(OS).pptx
Memory Managment(OS).pptxMemory Managment(OS).pptx
Memory Managment(OS).pptx
 
Various type of register
Various type of registerVarious type of register
Various type of register
 
OS_Ch9
OS_Ch9OS_Ch9
OS_Ch9
 
OSCh9
OSCh9OSCh9
OSCh9
 
Ch9 OS
Ch9 OSCh9 OS
Ch9 OS
 

More from AhsanRazaKolachi

Evolution in military technology by ahsan raza
Evolution in military technology by ahsan razaEvolution in military technology by ahsan raza
Evolution in military technology by ahsan razaAhsanRazaKolachi
 
Flags register in central processing unit
Flags register in central processing unitFlags register in central processing unit
Flags register in central processing unitAhsanRazaKolachi
 
what is System Analyst in Software Development
what is System Analyst in Software Developmentwhat is System Analyst in Software Development
what is System Analyst in Software DevelopmentAhsanRazaKolachi
 
Process , Process states , Process Control Block in Operating Systems
Process , Process states , Process Control Block in Operating SystemsProcess , Process states , Process Control Block in Operating Systems
Process , Process states , Process Control Block in Operating SystemsAhsanRazaKolachi
 
Rapid Application Development in Software Engineering
Rapid Application Development in Software EngineeringRapid Application Development in Software Engineering
Rapid Application Development in Software EngineeringAhsanRazaKolachi
 
Data transmission Services in Data Warehouse
Data transmission Services in Data WarehouseData transmission Services in Data Warehouse
Data transmission Services in Data WarehouseAhsanRazaKolachi
 
What is Palindrome in Compiler Design and Tafl
What is Palindrome in Compiler Design and TaflWhat is Palindrome in Compiler Design and Tafl
What is Palindrome in Compiler Design and TaflAhsanRazaKolachi
 
Dynamic Programming Intro in Algorithm Design
Dynamic Programming Intro in Algorithm DesignDynamic Programming Intro in Algorithm Design
Dynamic Programming Intro in Algorithm DesignAhsanRazaKolachi
 
Statistics and Role of statistics in Computer Science
Statistics and Role of statistics in Computer Science Statistics and Role of statistics in Computer Science
Statistics and Role of statistics in Computer Science AhsanRazaKolachi
 
Radio Waves In Computer Communication
Radio Waves In Computer Communication Radio Waves In Computer Communication
Radio Waves In Computer Communication AhsanRazaKolachi
 

More from AhsanRazaKolachi (15)

Evolution in military technology by ahsan raza
Evolution in military technology by ahsan razaEvolution in military technology by ahsan raza
Evolution in military technology by ahsan raza
 
Flags register in central processing unit
Flags register in central processing unitFlags register in central processing unit
Flags register in central processing unit
 
what is System Analyst in Software Development
what is System Analyst in Software Developmentwhat is System Analyst in Software Development
what is System Analyst in Software Development
 
Process , Process states , Process Control Block in Operating Systems
Process , Process states , Process Control Block in Operating SystemsProcess , Process states , Process Control Block in Operating Systems
Process , Process states , Process Control Block in Operating Systems
 
Rapid Application Development in Software Engineering
Rapid Application Development in Software EngineeringRapid Application Development in Software Engineering
Rapid Application Development in Software Engineering
 
Data transmission Services in Data Warehouse
Data transmission Services in Data WarehouseData transmission Services in Data Warehouse
Data transmission Services in Data Warehouse
 
What is Palindrome in Compiler Design and Tafl
What is Palindrome in Compiler Design and TaflWhat is Palindrome in Compiler Design and Tafl
What is Palindrome in Compiler Design and Tafl
 
Information Technology
Information Technology Information Technology
Information Technology
 
MongoDB
MongoDB MongoDB
MongoDB
 
Nelsen ten Heuristics
Nelsen ten HeuristicsNelsen ten Heuristics
Nelsen ten Heuristics
 
two wordpress plugins
two wordpress pluginstwo wordpress plugins
two wordpress plugins
 
Graph in data structures
Graph in data structuresGraph in data structures
Graph in data structures
 
Dynamic Programming Intro in Algorithm Design
Dynamic Programming Intro in Algorithm DesignDynamic Programming Intro in Algorithm Design
Dynamic Programming Intro in Algorithm Design
 
Statistics and Role of statistics in Computer Science
Statistics and Role of statistics in Computer Science Statistics and Role of statistics in Computer Science
Statistics and Role of statistics in Computer Science
 
Radio Waves In Computer Communication
Radio Waves In Computer Communication Radio Waves In Computer Communication
Radio Waves In Computer Communication
 

Recently uploaded

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 

Recently uploaded (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

Index registers in Central Processing Unit

  • 2. What are index registers? Area of memory assigned to a processor. Can store addresses of elements of an array. Low level areas Of memory. Usually accessible though assembly language.
  • 3. Why are they used? Used for very fast counter for stepping through memory address. To keep track such as looping. Holds current offset of a memory location.
  • 4. What’s an offset ??? A process that specifies number of bytes in memory Starting at one point, moving by the offset, seeing where you are now.
  • 5. Types of index Registers 1. Source index : Points to memory location in data segment. Its offset is relative to data segment. 16 bits memory.
  • 6. 2. Destination index : Same as source index. String operations uses destination index to access memory location.
  • 7. 3. Stack Pointer: Points at program stack. Used in conjunction with stack segment for accessing stack segment. Points at top most item of stack. Offset address is relative to stack segment.
  • 8. 4. Base Pointer : Points data in stack segment. Unlike stack pointer we can use base pointer to access data in other segments. Offset address is relative to base segment.
  • 9. 5. Instruction pointer register It is a control register. Holds location of next instruction in pipeline.  Increments itself after every instruction.
  • 10. 6. Flag Register:  Holds current status of program.