32-bit application
A 32-bit application is software that runs in a 32-bit flat address space (a flat memory model).
| N-bit computers | |||||
|---|---|---|---|---|---|
| 4-bit | 8-bit | 16-bit | 32-bit | 64-bit | 128-bit |
| N-bit applications | |||||
| 4-bit | 8-bit | 16-bit | 32-bit | 64-bit | 128-bit |
| N-bit data sizes | |||||
| 4-bit | 8-bit | 16-bit | 32-bit | 64-bit | 128-bit |
| nibble | byte octet | word | dword | qword | |
In computer science, 32-bit is an adjective used to describe integers that are at most 32 bits (4 octets) wide, or to describe CPU architectures based on registers, address buses, or data buses of that size.
The term "32-bit" can be used to describe the size of any of the following:
- A data unit.
- A CPU's registers used to hold memory addresses and other data, as well as the ALU that operates on those registers.
- Data units of that size are called words.
- A 32-bit CPU can process 32 bits at a time.
- Memory addresses.
- Data transferred on each read or write of the memory.
The term 32-bit application came about because DOS and Microsoft Windows were originally written for the Intel 8088 and Intel 80286 microprocessors. These are 16 bit microprocessors with a segmented address space. Programs with more than 64 kilobytes of code and/or data therefore had to switch between segments quite frequently. As this operation is quite time consuming in comparison to other machine operations, the application's performance may suffer. Furthermore, programming with segments is more involved than programming in a flat address space, giving rise to some complications in programming languages like "memory models" in C programming language and C plus plus programming language.
The shift from 16-bit software to 32-bit software on IBM compatible systems became possible with the introduction of the '386 microprocessor. This microprocessor and its successors support a segmented address space with 16-bit and 32 bit segments (more precisely: segments with 16- or 32-bit address offset). If the base address of all 32-bit segments is set to 0, and segment registers are no more used explicitly, the segmentation can be forgotten and the processor appears as having a simple linear 32-bit address space. For compatibility reasons, however, much of the software is nevertheless written in 16-bit models.
Operating systems like Windows or OS/2 provide the possibility to run 16-bit (segmented) programs as well as 32-bit programs. The former possibility exists for backward compatibility and the latter is usually meant to be used for new software development.
See also:
This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.
Categories: Computer architecture | Computer terminology