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

Memory Managment(OS).pptx
Memory Managment(OS).pptxMemory Managment(OS).pptx
Memory Managment(OS).pptx
RohitPaul71
 
Ch9 OS
Ch9 OSCh9 OS
Ch9 OS
C.U
 

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

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

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

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.