x86 real mode is where a CPU begins execution. It has a 20-bit memory address space and unlimited direct software access to all addressable memory, I/O addresses and peripheral hardware. It has no concept of virtual memory, paging or memory protection as in protected-mode and long-mode. Use this tag for programming questions related to real mode.
Real mode, also called real address mode, is an operating mode of all x86-compatible CPUs.
Real mode is characterized by
- a 20-bit segmented memory address space (giving exactly 1 MiB of addressable memory) and
- unlimited direct software access to all addressable memory, I/O addresses and peripheral hardware, it
- provides no support for memory protection, multitasking, or code privilege levels.
Before the release of the 80286, which introduced protected-mode real mode was the only available mode for x86 CPUs. In the interests of backwards compatibility, all x86 CPUs start in real mode when reset, though its possible to emulate real mode on other systems when starting on other modes.