EAX x86 Register Meaning and History keleshev.com · 6 points · 0 comments · HN t...
HN Best 200 @best
EAX x86 Register Meaning and History keleshev.com · 6 points · 0 comments · HN thread
TL;DR The article traces the naming history of the x86 accumulator register from the 8008's A through 8086's AX, 80386's EAX and AMD's 64-bit RAX. It also corrects an earlier claim that X stood for "eXtended", quoting 8086 architect Stephen Morse that X was an arbitrary letter combining L and H.
- The 8008 (1972) had seven 8-bit registers; A was the accumulator and H/L formed the memory address pair used via the pseudo-register M.
- Intel made the 8086 (1979) software-compatible with the 8008 so a translator could convert 8008 assembly, which shaped its register design.
- The 8086 had eight 16-bit registers that overlapped with eight 8-bit registers, so AX was split into AH and AL.
- The 80386 (1985) extended registers with an E prefix, giving EAX, while AX became the lower half of EAX.
- AMD's 2003 64-bit design replaced E with R, giving RAX, partly to keep names consistent with the new R8 to R15.
- Stephen Morse said the X was an arbitrary letter chosen to combine L and H, with little thought given to any longer meaning.
Discussion No comments have been posted yet, so there is no discussion to summarize.