Thursday, 25 August 2016

Memory segment of 8086 microprocessor

MEMORY SEGMENTATION OF 8086 PROCESSOR

The 8086 processor can access a total of 1MB of memory by using 20bit address. But the total 1MB memory is not used as a whole instead there are four segment created in the entire memory. The size of each segment is 64KB these segments are called


1.    Code segment
2.    Data segment
3.    Stack segment

4.    Extra segment


         A example of memory segmentation is shown in figure above where the code segment start from 2000H to 2FFFFH all the address are a Hexa decimal system the data segment address are 40000H to 4FFFFH similarly stack segment is from 70000H to 7FFFFH and extra segment address are from 80000H to 8FFFFH
                                                  so,each segment has a range of address from 0000H to FFFFH. It is a 16 bit address range. so, total address are 216  = 64KB per segment.

No comments:

Post a Comment