Long mode
This article needs additional citations for verification. (September 2023) |
Part of a series on |
Microprocessor modes for the x86 architecture |
---|
|
First supported platform shown in parentheses |
In the
Overview
An x86-64 processor acts identically to an IA-32 processor when running in real mode or protected mode, which are supported modes when the processor is not in long mode.
A bit in the CPUID extended attributes field informs programs in real or protected modes if the processor can go to long mode, which allows a program to detect an x86-64 processor. This is similar to the CPUID attributes bit that Intel IA-64 processors use to allow programs to detect if they are running under IA-32 emulation.
With a computer running legacy
Memory limitations
While register sizes have increased to 64 bits from the previous
Current limits
The first CPUs implementing the x86-64 architecture, namely the AMD
: 4The virtual address space of these processors is divided into two 47-bit regions, one starting at the lowest possible address, the other extending down from the largest. Attempting to use addresses falling outside this range will cause a general protection fault.
The limit of physical addressing constrains how much installed
When there is need, the microarchitecture can be expanded step by step without side-effects from software and simultaneously save cost with its implementation. For future expansion, the architecture supports expanding virtual address space to 64 bits, and physical memory addressing to 52 bits (limited by the
See also
- x86-64
- 64-bit compatibility mode
References
- ^ a b "AMD64 Architecture Programmer's Manual Volume 2: System Programming" (PDF). 2016. Retrieved 2015-04-09.
- ^ "BIOS and Kernel Developer's Guide (BKDG) For AMD Family 10h Processors" (PDF). p. 30. Retrieved 2015-04-09.
Physical address space increased to 48 bits.
- ^ AMD 2016, p. 24: "The AMD64 architecture enhances this support to allow translation of 64-bit virtual addresses into 52-bit physical addresses, although processor implementations can support smaller virtual-address and physical-address spaces."
External links
- Zeichick, Alan (2003-12-03). "Platforms and Tools for the AMD Athlon 64 Processor". Developer. AMD. Archived from the original on 2012-02-14.
A guide to the new features of long mode
- Chourdakis, Michael (2015-05-21). "The Real, Protected, Long mode assembly tutorial for PCs". Code Project.