x86 architecture
general purpose registers




 
traditional general purpose registers
 
6
3
  3
2
3
1
  1
6
1
5
  8 7   0
RAX or R0
zero-extended EAX or R0D
preserved preserved AX or R0W
AH AL or R0B
RCX or R1
zero-extended ECX or R1D
preserved preserved CX or R1W
CH CL or R1B
RDX or R2
zero-extended EDX or R2D
preserved preserved DX or R2W
DH DL or R2B
RBX or R3
zero-extended EBX or R3D
preserved preserved BX or R3W
BH BL or R3B
RSP or R4
zero-extended ESP or R4D
preserved preserved SP or R4W
preserved SPL or R4B
RBP or R5
zero-extended EBP or R5D
preserved preserved BP or R5W
preserved BPL or R5B
RSI or R6
zero-extended ESI or R6D
preserved preserved SI or R6W
preserved SIL or R6B
RDI or R7
zero-extended EDI or R7D
preserved preserved DI or R7W
preserved DIL or R7B

 
additional general purpose registers
 
6
3
  3
2
3
1
  1
6
1
5
  8 7   0
R8
zero-extended R8D
preserved R8W
preserved R8B
R9
zero-extended R9D
preserved R9W
preserved R9B
R10
zero-extended R10D
preserved R10W
preserved R10B
R11
zero-extended R11D
preserved R11W
preserved R11B
R12
zero-extended R12D
preserved R12W
preserved R12B
R13
zero-extended R13D
preserved R13W
preserved R13B
R14
zero-extended R14D
preserved R14W
preserved R14B
R15
zero-extended R15D
preserved R15W
preserved R15B

 
additional general purpose registers
 
6
3
  3
2
3
1
  1
6
1
5
  8 7   0
R16
zero-extended R16D
zero-extended if ND=1, else preserved R16W
zero-extended if ND=1, else preserved R16B
R17
zero-extended R17D
zero-extended if ND=1, else preserved R17W
zero-extended if ND=1, else preserved R17B
R18
zero-extended R18D
zero-extended if ND=1, else preserved R18W
zero-extended if ND=1, else preserved R18B
R19
zero-extended R19D
zero-extended if ND=1, else preserved R19W
zero-extended if ND=1, else preserved R19B
R20
zero-extended R20D
zero-extended if ND=1, else preserved R20W
zero-extended if ND=1, else preserved R20B
R21
zero-extended R21D
zero-extended if ND=1, else preserved R21W
zero-extended if ND=1, else preserved R21B
R22
zero-extended R22D
zero-extended if ND=1, else preserved R22W
zero-extended if ND=1, else preserved R22B
R23
zero-extended R23D
zero-extended if ND=1, else preserved R23W
zero-extended if ND=1, else preserved R23B
R24
zero-extended R24D
zero-extended if ND=1, else preserved R24W
zero-extended if ND=1, else preserved R24B
R25
zero-extended R25D
zero-extended if ND=1, else preserved R25W
zero-extended if ND=1, else preserved R25B
R26
zero-extended R26D
zero-extended if ND=1, else preserved R26W
zero-extended if ND=1, else preserved R26B
R27
zero-extended R27D
zero-extended if ND=1, else preserved R27W
zero-extended if ND=1, else preserved R27B
R28
zero-extended R28D
zero-extended if ND=1, else preserved R28W
zero-extended if ND=1, else preserved R28B
R29
zero-extended R29D
zero-extended if ND=1, else preserved R29W
zero-extended if ND=1, else preserved R29B
R30
zero-extended R30D
zero-extended if ND=1, else preserved R30W
zero-extended if ND=1, else preserved R30B
R31
zero-extended R31D
zero-extended if ND=1, else preserved R31W
zero-extended if ND=1, else preserved R31B

 
instruction pointer
 
6
3
  3
2
3
1
  1
6
1
5
  8 7   0
RIP
reserved EIP
reserved IP



main page

© 1996-2024 by Christian Ludloff. All rights reserved. Use at your own risk.