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

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.

主站蜘蛛池模板: 昭通市| 阳东县| 鹿泉市| 叶城县| 呼图壁县| 濮阳市| 濮阳县| 绍兴县| 玛纳斯县| 民勤县| 甘德县| 墨玉县| 镇原县| 阿巴嘎旗| 喀喇沁旗| 云梦县| 云南省| 盘山县| 沁源县| 抚顺市| 太仆寺旗| 商水县| 宁都县| 泉州市| 台中市| 界首市| 上林县| 镇康县| 梅州市| 漳州市| 二手房| 阳西县| 屏东市| 麻城市| 东莞市| 三江| 新宾| 页游| 云梦县| 连州市| 苍溪县|