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

General purpose registers

Depending on the mode of the operation (protected or long), there are 8 to 16 available general purpose registers in modern Intel processors. Each register is divided into subregisters, allowing access to data with a bit width lower than the width of the register.

The following table shows general purpose registers (further referred to as GPR):

 

Table 1: x86/x86_64 registers
All R* registers are only available in the long mode. Registers SIL, DIL, BPL, and SPL are only available in the long mode. Registers AH, BH, CH, and DH cannot be used in instructions that are not valid outside the long mode.

For convenience, we will refer to the registers by their 32-bit names (such as EAX, EBX, and so on) when we do not need to explicitly refer to a register of a certain bit width. The preceding table shows all general purpose registers available on the Intel platform. Some of them are only available in the long mode (all 64-bit registers, R* registers, and a few of the 8-bit registers) and certain combinations are not allowed. However, despite the fact that we can use those registers for any purpose, some of them do have a special meaning in certain circumstances.

主站蜘蛛池模板: 无为县| 高阳县| 平阴县| 内丘县| 大荔县| 山东省| 托克逊县| 苗栗市| 米泉市| 屯昌县| 东安县| 崇仁县| 客服| 宜宾市| 全南县| 墨竹工卡县| 民丰县| 肥城市| 青海省| 星子县| 通城县| 东台市| 方城县| 名山县| 丹凤县| 湖北省| 和平县| 红河县| 顺平县| 榆中县| 隆昌县| 墨竹工卡县| 武穴市| 巨野县| 沂源县| 灌云县| 喀喇沁旗| 潼南县| 石狮市| 吴堡县| 宣城市|