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

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.

主站蜘蛛池模板: 甘孜县| 从江县| 福鼎市| 小金县| 鄱阳县| 上思县| 邛崃市| 浮山县| 云林县| 阿克苏市| 揭阳市| 南漳县| 易门县| 普格县| 秭归县| 郁南县| 沭阳县| 台湾省| 大厂| 漾濞| 勐海县| 太仆寺旗| 宾川县| 河西区| 盐边县| 柯坪县| 天峻县| 杂多县| 八宿县| 靖边县| 斗六市| 加查县| 东方市| 绥德县| 麻城市| 门源| 临夏县| 彭阳县| 永川市| 多伦县| 萨迦县|