×
Create a new article
Write your page title here:
We currently have 179 articles on Open Eggbert. Type your article name above or click on one of the titles below and start writing!



Open Eggbert
179Articles
in:

I586 registers: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
== What are the two types of registers ==
== Types of registers based on the data length ==
32-bit and 16-bit registers
64-bit registers - These do not exist in the i586 instruction set. They exist only in the 64-bit processors. Their names start with the R character.


== Register Categories of registers ==
32-bit registers - Their names start with the E character.
 
16-bit registers
 
8-bit registers
 
== Categories of registers ==


* General registers
* General registers
Line 19: Line 25:
* Lower halves of the 32-bit registers can be used as four 16-bit data registers: AX, BX, CX and DX.
* Lower halves of the 32-bit registers can be used as four 16-bit data registers: AX, BX, CX and DX.
* Lower and higher halves of the above-mentioned four 16-bit registers can be used as eight 8-bit data registers: AH, AL, BH, BL, CH, CL, DH, and DL.
* Lower and higher halves of the above-mentioned four 16-bit registers can be used as eight 8-bit data registers: AH, AL, BH, BL, CH, CL, DH, and DL.
Regarding the 32-bit processors: There are also  four data 64-bit data registers: RAX, RBX, RCX, RDX


== External links ==
== External links ==
https://wiki.osdev.org/CPU_Registers_x86
https://wiki.osdev.org/CPU_Registers_x86
[[Category:X86]]
[[Category:X86]]

Revision as of 17:57, 9 November 2024

Types of registers based on the data length

64-bit registers - These do not exist in the i586 instruction set. They exist only in the 64-bit processors. Their names start with the R character.

32-bit registers - Their names start with the E character.

16-bit registers

8-bit registers

Categories of registers

  • General registers
  • Control registers
  • Segment registers

Categories of general registers

  • Data registers
  • Pointer registers
  • Index registers

Data registers

There are four data 32-bit data registers: EAX, EBX, ECX, EDX

  • Lower halves of the 32-bit registers can be used as four 16-bit data registers: AX, BX, CX and DX.
  • Lower and higher halves of the above-mentioned four 16-bit registers can be used as eight 8-bit data registers: AH, AL, BH, BL, CH, CL, DH, and DL.


Regarding the 32-bit processors: There are also four data 64-bit data registers: RAX, RBX, RCX, RDX

External links

https://wiki.osdev.org/CPU_Registers_x86