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

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.

主站蜘蛛池模板: 利津县| 甘洛县| 和平县| 广州市| 临夏县| 定安县| 浠水县| 宁远县| 甘孜| 鄱阳县| 茶陵县| 北碚区| 廉江市| 屏南县| 竹溪县| 万盛区| 上高县| 江西省| 安溪县| 永平县| 思茅市| 双牌县| 桦南县| 枣庄市| 高雄县| 大庆市| 大英县| 城口县| 洱源县| 湾仔区| 兴城市| 兴城市| 花垣县| 布尔津县| 江孜县| 望谟县| 得荣县| 武义县| 鄂尔多斯市| 宿州市| 聂拉木县|