Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

X86 real mode register at a glance assembly learning

Shulou Source: shulou.com Published: 2022-06-03 03:56:24 10月05日 Update

8086 CPU has a total of 14 registers, all of which are 16 bits

AX: accumulating register

CX: counter register

DX: data register

DS: segment register

ES: additional segment register

BX: base address register

SI: source index register

DI: destination indexing register

CS: code snippet register

IP: instruction pointer register

SS: stack segment register

SP: stack pointer register

BP: base pointer register

FLAG: flag register

The above are 14 registers running in X86 series CPU real mode.

AX registers can be divided into two independent 8-bit AH and AL registers

BX registers can be divided into two independent 8-bit BH and BL registers

CX registers can be divided into two independent 8-bit CH and CL registers

DX registers can be divided into two independent 8-bit DH and DL registers

Except for the above four data registers, none of the other registers can be divided into two separate 8-bit registers.

Tags: Register two independent pointer data pattern code base base address instruction flag purpose counter run attach list learn Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia MariaDB Shulou Information Linux vpn