SlideShare a Scribd company logo
1 of 11
Download to read offline
8086 Microprocessor
MEMORY SEGMENTATION
By
G. Mahalakshmi Malini
Assistant Professor/ECE
Avinashilingam Institute for Home Science and Higher Education for Women
Introduction of memory Segmentation
 Segmentation is the process in which the main memory of the
computer is logically divided into different segments and each
segment has its own base address.
 Memory segmentation is the methods where whole memory is
divided into the smaller parts called segments of various sizes.
 A segment is just an area in memory.
 The process of dividing memory this way is called segmentation.
 These segments are data segment, code segment, stack
segment and extra segment.
 It is basically used to enhance the speed of execution of the
computer system, so that the processor is able to fetch and
execute the data from the memory easily and fast.
Memory Segmentation
 In memory, data is stored as bytes.
 Each byte has a specific address.
 Intel 8086 has 20 lines address bus.
 With 20 address lines, the memory that can be addressed is 2^20
bytes.
 2^20 = 1,048,576 bytes (1 MB).
 This 1MB memory is divided into 16 logical segments, each with a
memory of 64KB.
 8086 can access memory with address.
 Ranging from 0000H to FFFFH
Segments
 In 8086, memory has four different types of segments these are:
 Code segment
 Data segment
 Stack segment
 Extra segment
Segment Register
 Each of these segments are addressed by an address stored
in corresponding segment register.
 These registers are 16 bit in size.
 Each register stores the base address (starting address) of the
corresponding segment.
 Because the segment registers cannot store 20 bits, they only
store the upper 16 bits.
 Code segment register (CS): is used for addressing memory
location in the code segment of the memory, where the
executable program is stored
 Data segment register (DS): points to the data segment of the
memory where the data is stored.
 Extra segment register (ES): also refers to a segment in the
memory which s another data segment in the memory.
 Stack Segment Register (SS): is used for addressing Stack
segment of the memory. The stack segment is that of memory
which is used to store stack data.
Advantages and Disadvantages of
Segmentation
Advantages of Segmentation
 it permits the programmer to access 1MB memory using only
16 bit address.
 It divides the memory logically to store code, data and stack
portion separately. For data and code protection.
 Memory segmentation is very useful for multiuser environment.
Disadvantage of segmentation
 Although the total memory is 16*64kb, at a time only 4*
64kb memory can be accessed

More Related Content

What's hot

Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1deval patel
 
Addressing Modes
Addressing ModesAddressing Modes
Addressing ModesMayank Garg
 
Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Urvashi Singh
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Jismy .K.Jose
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controllerabhikalmegh
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051Muthu Manickam
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 80869840596838
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor Mustapha Fatty
 
System bus timing 8086
System bus timing 8086System bus timing 8086
System bus timing 8086mpsrekha83
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller NotesDr.YNM
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051hello_priti
 
8086 instructions
8086 instructions8086 instructions
8086 instructionsRavi Anand
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086mudulin
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessorAnjali Agrawal
 

What's hot (20)

Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
 
Addressing Modes
Addressing ModesAddressing Modes
Addressing Modes
 
Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086
 
SHLD and LHLD instruction
SHLD and LHLD instructionSHLD and LHLD instruction
SHLD and LHLD instruction
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
Interfacing 8255
Interfacing 8255Interfacing 8255
Interfacing 8255
 
System bus timing 8086
System bus timing 8086System bus timing 8086
System bus timing 8086
 
Interrupts of 8086
Interrupts of 8086Interrupts of 8086
Interrupts of 8086
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
8086 instructions
8086 instructions8086 instructions
8086 instructions
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessor
 
8255 PPI
8255 PPI8255 PPI
8255 PPI
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 

Similar to 8086 memory segmentation

Similar to 8086 memory segmentation (20)

Presentataion
Presentataion Presentataion
Presentataion
 
Segmentation
SegmentationSegmentation
Segmentation
 
Register & Memory
Register & MemoryRegister & Memory
Register & Memory
 
Lect 8 updated (1)
Lect 8 updated (1)Lect 8 updated (1)
Lect 8 updated (1)
 
Memory segmentations
Memory  segmentations Memory  segmentations
Memory segmentations
 
Memory Segmentation of 8086
Memory Segmentation of 8086Memory Segmentation of 8086
Memory Segmentation of 8086
 
Cache memory
Cache memoryCache memory
Cache memory
 
Paging and Segmentation
Paging and SegmentationPaging and Segmentation
Paging and Segmentation
 
U I - 4. 80386 Real mode.pptx
U I - 4. 80386 Real mode.pptxU I - 4. 80386 Real mode.pptx
U I - 4. 80386 Real mode.pptx
 
[ASM] Lab2
[ASM] Lab2[ASM] Lab2
[ASM] Lab2
 
Paging and segmentation
Paging and segmentationPaging and segmentation
Paging and segmentation
 
Paging and Segmentation in Operating System
Paging and Segmentation in Operating SystemPaging and Segmentation in Operating System
Paging and Segmentation in Operating System
 
Protected mode memory addressing 8086
Protected mode memory addressing 8086Protected mode memory addressing 8086
Protected mode memory addressing 8086
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386
 
80386
8038680386
80386
 
80386.pptx
80386.pptx80386.pptx
80386.pptx
 
Microprocessors and memory concepts
Microprocessors and memory conceptsMicroprocessors and memory concepts
Microprocessors and memory concepts
 
Microprocessor Unit -1 SE computer-II.pptx
Microprocessor  Unit -1 SE computer-II.pptxMicroprocessor  Unit -1 SE computer-II.pptx
Microprocessor Unit -1 SE computer-II.pptx
 
32- bit Microprocessor-Indtel 80386.pptx
32- bit Microprocessor-Indtel 80386.pptx32- bit Microprocessor-Indtel 80386.pptx
32- bit Microprocessor-Indtel 80386.pptx
 

More from mahalakshmimalini

More from mahalakshmimalini (17)

Arduino
Arduino Arduino
Arduino
 
Electronics components and connections
Electronics components and connectionsElectronics components and connections
Electronics components and connections
 
Arduino Family
Arduino FamilyArduino Family
Arduino Family
 
Arduino Functions
Arduino FunctionsArduino Functions
Arduino Functions
 
Arduino IDE
Arduino IDEArduino IDE
Arduino IDE
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
 
Dc machines
Dc machines Dc machines
Dc machines
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
18 beps02 electrical technology
18 beps02  electrical technology18 beps02  electrical technology
18 beps02 electrical technology
 
Presentation1
Presentation1Presentation1
Presentation1
 
Pic 16 f877a architecture1
Pic 16 f877a architecture1Pic 16 f877a architecture1
Pic 16 f877a architecture1
 
Energy Harvesting for Wearable Devices
Energy Harvesting for Wearable DevicesEnergy Harvesting for Wearable Devices
Energy Harvesting for Wearable Devices
 
Artifical Neural Network
Artifical Neural NetworkArtifical Neural Network
Artifical Neural Network
 
Memory interfacing
Memory interfacingMemory interfacing
Memory interfacing
 
Background to nanotechnology
Background to nanotechnologyBackground to nanotechnology
Background to nanotechnology
 
Introduction to nano technology
Introduction to nano technologyIntroduction to nano technology
Introduction to nano technology
 
Unit I - Introduction to VLSI
Unit I -  Introduction to VLSIUnit I -  Introduction to VLSI
Unit I - Introduction to VLSI
 

Recently uploaded

Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 

Recently uploaded (20)

POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 

8086 memory segmentation

  • 1. 8086 Microprocessor MEMORY SEGMENTATION By G. Mahalakshmi Malini Assistant Professor/ECE Avinashilingam Institute for Home Science and Higher Education for Women
  • 2. Introduction of memory Segmentation  Segmentation is the process in which the main memory of the computer is logically divided into different segments and each segment has its own base address.  Memory segmentation is the methods where whole memory is divided into the smaller parts called segments of various sizes.  A segment is just an area in memory.  The process of dividing memory this way is called segmentation.
  • 3.  These segments are data segment, code segment, stack segment and extra segment.  It is basically used to enhance the speed of execution of the computer system, so that the processor is able to fetch and execute the data from the memory easily and fast.
  • 4. Memory Segmentation  In memory, data is stored as bytes.  Each byte has a specific address.  Intel 8086 has 20 lines address bus.  With 20 address lines, the memory that can be addressed is 2^20 bytes.  2^20 = 1,048,576 bytes (1 MB).  This 1MB memory is divided into 16 logical segments, each with a memory of 64KB.
  • 5.  8086 can access memory with address.  Ranging from 0000H to FFFFH
  • 6. Segments  In 8086, memory has four different types of segments these are:  Code segment  Data segment  Stack segment  Extra segment
  • 7. Segment Register  Each of these segments are addressed by an address stored in corresponding segment register.  These registers are 16 bit in size.  Each register stores the base address (starting address) of the corresponding segment.  Because the segment registers cannot store 20 bits, they only store the upper 16 bits.
  • 8.  Code segment register (CS): is used for addressing memory location in the code segment of the memory, where the executable program is stored  Data segment register (DS): points to the data segment of the memory where the data is stored.  Extra segment register (ES): also refers to a segment in the memory which s another data segment in the memory.  Stack Segment Register (SS): is used for addressing Stack segment of the memory. The stack segment is that of memory which is used to store stack data.
  • 9.
  • 10. Advantages and Disadvantages of Segmentation Advantages of Segmentation  it permits the programmer to access 1MB memory using only 16 bit address.  It divides the memory logically to store code, data and stack portion separately. For data and code protection.  Memory segmentation is very useful for multiuser environment.
  • 11. Disadvantage of segmentation  Although the total memory is 16*64kb, at a time only 4* 64kb memory can be accessed