Why does 8086 processor adopt the segmentation mechanism?

Source: Internet
Author: User

Anyone who has learned the Assembly knows that the 8086 processor uses a segmented management mechanism for memory. Why is this design necessary? How nice it is to directly access the memory using a linear address.

In fact, Intel engineers will never be so stupid. Of course, there is his theory:

First, the address bus has 20 IP addresses that can address 1 MB of space, while the registers are 16-bit and can only address 64 KB. The extra space cannot be wasted. You know that in 8086 S, memory was very expensive.

Therefore, Intel engineers have come up with a segmentation management method: segment address X4 + offset address.

In addition, segment management is conducive to code organization and effective management of memory. For example, you can isolate code segments and data segments.

During the learning process, if you copy the learning as described in the book, it is neither easy to remember nor integrate the knowledge.

Why does 8086 processor adopt the segmentation mechanism?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.