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

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.

主站蜘蛛池模板: 镇安县| 措美县| 宜昌市| 和龙市| 佳木斯市| 临清市| 图木舒克市| 招远市| 台中县| 江阴市| 融水| 亚东县| 若尔盖县| 沙洋县| 浦江县| 新竹市| 三门峡市| 万全县| 启东市| 偏关县| 芦山县| 运城市| 涟源市| 阜新| 孙吴县| 新野县| 喜德县| 成安县| 高青县| 三明市| 淄博市| 新邵县| 澄迈县| 天柱县| 韶关市| 化州市| 若尔盖县| 威远县| 仲巴县| 太白县| 林周县|