Académique Documents
Professionnel Documents
Culture Documents
AND ITS
ARCHITECTURE
( REAL MODE )
Micro 133 Prelim Lecture 2
by: Engr. Ricrey E. Marquez, CpE, MSCS
INTRODUCTION
MSDOS MEMORY
MAP
BIOS DATA
DOS DATA
RESIDENT DOS
TRANSIENT DOS
BIOS SPACE
It is Basic I/O System (BIOS) memory space that are:
Use in routines to check the system hardware during
boot up
Use by the programs that load DOS system files
Use by some routines available to user programs that
perform various functions (BIOS service routines)
These service routines usually service interrupts, but can
be used to control hardware directly, e.g. screen modes,
disk access, etc.
INTERNAL MICROPROCESSOR
ARCHITECTURE
INTERNAL MICROPROCESSOR
ARCHITECTURE
REGISTERS
Registers hold various data sizes (bytes,
words, or double words) and are used for
almost any purpose as dictated by a
program.
Multi-purpose/General-purpose
Registers
Special-purpose Registers
Segment Registers
MULTI-PURPOSE REGISTERS
MULTI-PURPOSE REGISTERS
MULTI-PURPOSE REGISTERS
SPECIAL-PURPOSE
REGISTERS
SPECIAL-PURPOSE
REGISTERS
SPECIAL-PURPOSE
REGISTERS
SPECIAL-PURPOSE
REGISTERS
SPECIAL-PURPOSE
REGISTERS
SPECIAL-PURPOSE
REGISTERS
SEGMENT REGISTERS
SEGMENT REGISTERS
Figure 2
Table 1
DEFAULT SEGMENT
AND OFFSET
REGISTERS
Code Segment (CS) register defines the start of
the memory space of the code, and the Instruction
Pointer (IP) locates the next instruction within the
code segment.
Stack data are references through the Stack
Segment (SS) at the memory location addressed by
either the Stack Pointer (SP/ESP) or the Base
Pointer (BP/EBP)
Table 3
RELOCATION
Figure 1a. The programming 8-bit Names model of the 8086 through the Core 2
microprocessor including the 64-bit extensions.
Figure 2 The real mode memory-addressing scheme, using a segment address plus an
offset.
Figure 5. An application program containing a code, data, and stack segment loaded into a DOS system
memory.