官术网_书友最值得收藏!

The EFlags register

It would have been impossible to write programs in any language for a given platform if the processor had no means to report its status and/or the status of the last operation. More than that, the processor itself needs this information from time to time. Try to imagine a processor unable to conditionally control the execution flow of a program--sounds like a nightmare, doesn't it?

The most common way for a program to obtain information on the last operation or on a certain configuration of an Intel-based processor is through the EFlags register (E stands for extended). This register is referred to as Flags in real mode, EFlags in protected mode, or RFlags in long mode.

Let's take a look at the meaning of the individual bits (also referred to as flags) of this register and its usage.

主站蜘蛛池模板: 天气| 余姚市| 库车县| 青浦区| 当涂县| 新建县| 内丘县| 邮箱| 微博| 汕尾市| 南京市| 昌宁县| 米易县| 安福县| 雷波县| 三明市| 玛纳斯县| 古田县| 镇巴县| 彭山县| 临安市| 彭山县| 新乐市| 崇仁县| 巴中市| 丰宁| 临海市| 麻栗坡县| 彰化县| 渝北区| 元阳县| 林甸县| 鲁山县| 弥勒县| 隆回县| 东兰县| 手机| 芜湖市| 沈阳市| 木兰县| 庆安县|