Memory segmentation divides memory into separate segments of 64KB each to allow access to more than 64KB of memory using 16-bit registers. The 8086 processor uses memory segmentation across 16 segments totaling 1MB of memory. Segment registers store the starting address of each type of segment, including code, stack, data, and extra segments. Each segment is used for a specific purpose like storing instructions, return addresses, or user data.
2. What is memory segmentation
Different memory segments
Segment Registers
3. “Memory segmentation is division of entire memory
into different memory parts or segmentations.”
5. Size of each segment is 64KB
As in 8086 are registers are of 16-Bits , which can access
only 64-KB
There are total 16 memory segments
8086 processor have 1-MB memory
16 * 64 = 1024 KB = 1 MB
6. There can be any number of any segment depending
upon user program
A segment may be located anywhere in memory
Each of the segment is used for a specific task or
function
7. Code Segment: is used for storing program
instructions
Stack Segment: is used to store the return addresses
e.g. Function call or interrupt
Data & Extra Segments: are used for storing
data entered by user
8. In 8086 4 segment registers are present named as
1- Code segment register
2- Data segment register
3- Stack segment register
4- Extra segment register
9. All registers are 16-Bit registers
All registers are used for storing the starting address of
their corresponding memory segment.