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

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.

主站蜘蛛池模板: 兴和县| 大足县| 惠来县| 陆川县| 绵竹市| 凤凰县| 鄂伦春自治旗| 内江市| 泸溪县| 侯马市| 于田县| 汶上县| 通州区| 民勤县| 陆川县| 华蓥市| 台安县| 陇川县| 乡宁县| 宾阳县| 台湾省| 柘荣县| 军事| 尉氏县| 嘉祥县| 孟州市| 德化县| 阳春市| 桂阳县| 汕尾市| 大竹县| 小金县| 牟定县| 尖扎县| 曲水县| 威远县| 万载县| 阳高县| 台东市| 裕民县| 孝感市|