- 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.
- UNIX編程藝術(shù)
- C語言程序設(shè)計(第3版)
- Learning Apache Kafka(Second Edition)
- HDInsight Essentials(Second Edition)
- JAVA程序設(shè)計實驗教程
- Building Machine Learning Systems with Python(Second Edition)
- Access 2010中文版項目教程
- Android傳感器開發(fā)與智能設(shè)備案例實戰(zhàn)
- 零代碼實戰(zhàn):企業(yè)級應(yīng)用搭建與案例詳解
- Android系統(tǒng)下Java編程詳解
- Java程序設(shè)計實用教程(第2版)
- AngularJS UI Development
- Effective C++:改善程序與設(shè)計的55個具體做法(第三版)中文版(雙色)
- 美麗洞察力:從化妝品行業(yè)看顧客需求洞察
- jQuery Essentials