BASIC EXECUTION ENVIRONMENT基本执行环境(from ia_32 manual 3chapter)

This   chapter   describes   the   basic   execution   environment   of   an   IA-32   processor   as   seen   by
assembly-language programmers. It describes how the processor executes instructions and how
it stores and manipulates data. The parts of the execution environment described here include
memory   (the   address   space),   the   general-purpose   data   registers,   the   segment   registers,   the
EFLAGS register, and the instruction pointer register.

这一章描述用汇编语言程序来理解IA_32的基本执行环境,她描述了处理器怎样执行机器指令和怎样存储和操作数据.在这部分执行环境中我们主要描述包括地址空间 通用寄存器,段寄存器,标志寄存器,和指令指针寄存器.

3.1.       MODES OF OPERATION

The IA-32 architecture supports three operating modes: protected mode, real-address mode, and
system management mode. The operating mode determines which instructions and architectural
features are accessible:

3.1 操作方式

ia_32支持的操作方式有:保护方式,实方式,系统管理方式.操作方式决定了那些指令和结构特性可以被使用

*    Protected mode. This mode is the native state of the processor. In this mode all instruc-
     tions   and   architectural   features  are  available,   providing    the  highest   performance     and
     capability. This is the recommended mode for all new applications and operating systems.
     Among the capabilities of protected mode is the ability to directly execute “real-address
     mode”   8086   software   in   a   protected,   multi-tasking   environment.   This   feature   is   called
     virtual-8086 mode,   although   it is not actually a   processor mode.   Virtual-8086 mode   is
     actually a protected mode attribute that can be enabled for any task.

保护方式:这种方式是处理器的固有状态,在这种状态中所有的指令和结构特性都是被允许的,提供了最高的

性能,对于新的应用程序和操作系统推荐使用这种方式,在保护方式的一个特性之一就是可以在保护,多任务

的环境中直接执行实地址的8086软件。这个特性叫做虚拟8086方式,虽然他不是一个真正的处理器方式。但

这种方式是一个对任意任务都可行的保护方式属性
*    Real-address   mode.  This   mode   implements   the   programming   environment   of   the   Intel
     8086 processor with a few extensions (such as the ability to switch to protected or system
     management mode). The processor is placed in real-address mode following power-up or a
     reset.

实地址方式:这种方式实现了一个对8086少量扩展的编程环境(如这种从保护方式切换到系统管理方式的能力

)在系统加电或者复位的后处理器处于这种方式。

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值