Real-Mode Memory Addressing
Real-Mode Memory Addressing
MANAGEMENT
REAL MODE MEMORY ADDRESSING
■ Memory Access:
– Real Mode memory-addressing techniques.
– Protected Mode memory-addressing techniques.
■ Memory Access:
– 64-bit Flat Memory model.
■ Program-invisible registers in the 80286~Core2
microprocessors.
REAL MODE MEMORY
ADDRESSING
■ The only mode available on the 8086-8088.
20 bit address bus 1 MB, 16 bit data bus, 16 bit registers
– think of segments as
59000 Windows that can be
58FFF
moved over any area of
Extra
49000
4900 ES
memory to access data or
48FFF
code
44000
43FFF
00000
Default Segment and Offset Registers
CS IP EIP Program
DS BX, DI, SI, 8-bit or 16-bit # EBX, EDI, ESI, EAX ECX,
EDX, 8-bit or 32-bit #
Data
■ The Transient Program Area (TPA) holds the DOS (disk operating
system) operating system; other programs that control the computer
system.
■ TPA is the first available area of memory above drivers and other TPA
programs
Disadvantages:
■ Complex hardware and for address generation
■ Address computation delay for every memory access
■ Software limitation: Program size limited by segment size (64KB
with the 8086)
Limitations of the Real Mode Segmentation
Scheme
■ Segment size is fixed at and limited to 64 KB
With 20-bit memory addressing, can only begin at addresses starting with
0H, i.e. at 16 byte intervals
80286 and above use 24, 32 bit addresses but still 16-bit segment
registers