CPU main register function description

AX: Accumulator
BX: Base Address Register (Base)
CX: Count (Count) is automatically incremented by 1
DX: Store data (Data)

IP: The instruction register stores the offset of the next instruction to be executed, plus the base address of the code segment to form the address of the next instruction.

SI (Source Index register): source index register.
DI (Destination Index Register): Destination Index Register.

SP: Stack Pointer, pointing to the top of the stack
BP: Base Pointer

CS: Code segment register
DS: Data segment register
SS: Stack segment register
ES Additional segment register

CR3: Page directory address register, which stores the address of the page table directory, used for logical address to physical address conversion

Code segment register CS+instruction register IP->instruction address
DS+SI ->source heap data address
ES+DI ->destination heap data address
Stack segment register SS+stack base address register BP+stack pointer SP->stack data address

Guess you like

Origin blog.csdn.net/gamekit/article/details/104727410