【发布时间】:2014-05-26 03:59:10
【问题描述】:
来自英特尔 IA32 软件开发人员手册,
Flat memory model — Memory appears to a program as a single, continuous address
space. This space is called a linear address space. Code, data, and stacks are
all contained in this address space. Linear address space is byte addressable,
with addresses running contiguously from 0 to 2^32 - 1 (if not in 64-bit mode).
An address for any byte in linear address space is called a linear address.
Real-address mode memory model — This is the memory model for the Intel 8086
processor. It is supported to provide compatibility with existing programs
written to run on the Intel 8086 processor. The realaddress mode uses a specific
implementation of segmented memory in which the linear address space for the
program and the operating system/executive consists of an array of segments of up
to 64 KBytes in size each. The maximum size of the linear address space in
real-address mode is 220 bytes.
根据上面的信息,这两种内存模型的区别仅仅是可寻址的内存空间大小吗?
【问题讨论】:
标签: memory-management operating-system intel