- Mastering Assembly Programming
- Alexey Lyashko
- 142字
- 2021-08-20 10:23:28
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.
- Vue.js 3.x快速入門
- Visual FoxPro程序設計教程
- ASP.NET Core 5.0開發入門與實戰
- Mastering Python Scripting for System Administrators
- React.js Essentials
- Mastering JavaScript Design Patterns(Second Edition)
- Python深度學習:模型、方法與實現
- iOS自動化測試實戰:基于Appium、Python與Pytest
- Python爬蟲、數據分析與可視化:工具詳解與案例實戰
- OpenCV with Python By Example
- .NET Standard 2.0 Cookbook
- 鴻蒙OS應用編程實戰
- PrimeFaces Blueprints
- Python全棧開發:基礎入門
- Mastering Drupal 8