Lec 03 Internal Micro Architecture
Lec 03 Internal Micro Architecture
3
The Programming Model
18
AC, (alignment check) flag bit activates if a
word or doubleword is addressed on a non-word
or non-doubleword boundary.
VIF is a copy of the interrupt flag bit available to
the Pentium 4–(virtual interrupt)
VIP (virtual) provides information about a
virtual mode interrupt for (interrupt pending)
Pentium.
◦ used in multitasking environments to provide virtual
interrupt flags
ID (identification) flag indicates that the
Pentium microprocessors support the CPUID
instruction.
◦ CPUID instruction provides the system with
information about the Pentium microprocessor
Segment Registers
Generate memory addresses when
combined with other registers in the
microprocessor.
Four or six segment registers in various versions
of the microprocessor.
A segment register functions differently in real
mode than in protected mode.
Following is a list of each segment register, along
with its function in the system.
CS (code) segment holds code (programs and
procedures) used by the microprocessor.
DS (data) contains most data used by a program.
◦ Data are accessed by an offset address or contents of
other registers that hold the offset address
ES (extra) an additional data segment used by
some instructions to hold destination data.
SS (stack) defines the area of memory used for
the stack.
◦ stack entry point is determined by the stack segment
and stack pointer registers
◦ the BP register also addresses data within
the stack segment
FS and GS segments are supplemental segment
registers available in 80386–Core2
microprocessors.
◦ allow two additional memory segments for
access by programs
Windows uses these segments for internal
operations, but no definition of their usage is
available.