8-bit computing

In computer architecture, 8-bit integers or other data units are those that are 8 bits wide (1 octet). Also, 8-bit central processing unit (CPU) and arithmetic logic unit (ALU) architectures are those that are based on registers or data buses of that size. Memory addresses (and thus address buses) for 8-bit CPUs are generally larger than 8-bit, usually 16-bit. 8-bit microcomputers are microcomputers that use 8-bit microprocessors.

The term '8-bit' is also applied to the character sets that could be used on computers with 8-bit bytes, the best known being various forms of extended ASCII, including the ISO/IEC 8859 series of national character sets  especially Latin 1 for English and Western European languages.

The IBM System/360 introduced byte-addressable memory with 8-bit bytes, as opposed to bit-addressable or decimal digit-addressable or word-addressable memory, although its general-purpose registers were 32 bits wide, and addresses were contained in the lower 24 bits of those addresses. Different models of System/360 had different internal data path widths; the IBM System/360 Model 30 (1965) implemented the 32-bit System/360 architecture, but had an 8-bit native path width, and performed 32-bit arithmetic 8 bits at a time.[1]

The first widely adopted 8-bit microprocessor was the Intel 8080, being used in many hobbyist computers of the late 1970s and early 1980s, often running the CP/M operating system; it had 8-bit data words and 16-bit addresses. The Zilog Z80 (compatible with the 8080) and the Motorola 6800 were also used in similar computers. The Z80 and the MOS Technology 6502 8-bit CPUs were widely used in home computers and second- and third-generation game consoles of the 1970s and 1980s. Many 8-bit CPUs or microcontrollers are the basis of today's ubiquitous embedded systems.

Historical context

8-bit microprocessors were the first widely used microprocessors in the computing industry, marking a major shift from mainframes and minicomputers to smaller, more affordable systems. The introduction of 8-bit processors in the 1970s enabled the production of personal computers, leading to the popularization of computing and setting the foundation for the modern computing landscape.

Details

An 8-bit register can store 28 different values. The range of integer values that can be stored in 8 bits depends on the integer representation used. With the two most common representations, the range is 0 through 255 (28 − 1) for representation as an (unsigned) binary number, and −128 (−1 × 27) through 127 (27 − 1) for representation as two's complement.

8-bit CPUs use an 8-bit data bus and can therefore access 8 bits of data in a single machine instruction. The address bus is typically a double octet (16 bits) wide, due to practical and economical considerations. This implies a direct address space of 64 KB (65,536 bytes) on most 8-bit processors.

Most home computers from the 8-bit era fully exploited the address space, such as the BBC Micro (Model B) with 32 KB of RAM plus 32 KB of ROM. Others like the very popular Commodore 64 had full 64 KB RAM, plus 20 KB ROM, meaning with 16-bit addressing you could not use all of the RAM by default (e.g. from the included BASIC language interpreter in ROM);[2] without exploiting bank switching, which allows for breaking the 64 KB (RAM) limit in some systems. Other computers would have as low as 1 KB (plus 4 KB ROM), such as the Sinclair ZX80 (while the later very popular ZX Spectrum had more memory), or even only 128 bytes of RAM (plus storage from a ROM cartridge), as in an early game console Atari 2600 and thus 8-bit addressing would have been enough for the RAM, if it would not have needed to cover ROM too). The Commodore 128, and other 8-bit systems, meaning still with 16-bit addressing, could use more than 64 KB, i.e. 128 KB RAM, also the BBC Master with it expandable to 512 KB of RAM.

While in general 8-bit CPUs have 16-bit addressing, in some architectures you have both, such as in the MOS Technology 6502 CPU, where the zero page is used extensively, saving one byte in the instructions accessing that page, and also having 16-bit addressing instructions that take 2 bytes for the address plus 1 for the opcode. Commonly index registers are 8-bit (while other "8-bit" CPUs, such as Motorola 6800 had 16-bit index registers), such as the 6502 CPU, and then the size of the arrays addressed using indexed addressing instructions are at most 256 bytes, without needing longer code, i.e. meaning 8-bit addressing to each individual array.

Notable 8-bit CPUs

The first commercial 8-bit processor was the Intel 8008 (1972) which was originally intended for the Datapoint 2200 intelligent terminal. Most competitors to Intel started off with such character oriented 8-bit microprocessors. Modernized variants of these 8-bit machines are still one of the most common types of processor in embedded systems.

Another notable 8-bit CPU is the MOS Technology 6502. It, and variants of it, were used in a number of personal computers, such as the Apple I and the Apple II series, the Atari 8-bit family, the BBC Micro, and the Commodore PET and VIC-20, and in a number of video game consoles, such as the Atari 2600 and the Nintendo Entertainment System.

Early or popular 8-bit processors (incomplete)
Manufacturer Processor Year Comment
Intel80081972Datapoint 2200 compatible
Signetics26501973
Intel808019748008 source compatible
Motorola68001974
FairchildF81975
MOS65021975Similar to 6800, but incompatible
MicrochipPIC1975Harvard architecture microcontroller
Electronic ArraysEA900219768-bit data, 12-bit addressing
RCA18021976
ZilogZ8019768080 binary compatible
Intel808519778080 binary compatible
ZilogZ81978Harvard architecture microcontroller
Motorola680919786800 source compatible
Intel80511980Harvard architecture microcontroller
Motorola68008198232-bit registers, 20-bit or 22-bit addressing, three 16-bit ALUs, 8-bit data bus; Motorola 68000 software-compatible, 6809 hardware-compatible
MOS65101982Enhanced 6502 custom-made for use in the Commodore 64
Ricoh2A0319826502 clone minus BCD instructions for the Nintendo Entertainment System
ZilogZ1801985Z80 binary compatible
Motorola68HC111985
HudsonHuC6280198765C02 binary compatible
AtmelAVR1996
ZilogEZ801999Z80 binary compatible
InfineonXC8002005
Freescale68HC08?
Motorola6803?
NEC78K0[3]?

Use for training, prototyping, and general hardware education

8-bit processors continue to be designed today for general education about computer hardware, as well as for hobbyists' interests. One such CPU was designed and implemented using 7400-series integrated circuits on a breadboard.[4][5] Designing 8-bit CPU's and their respective assemblers is a common training exercise for engineering students, engineers, and hobbyists. FPGA's are used for this purpose.

See also

References

  1. Amdahl, G. M.; Blaauw, G. A.; Brooks, F. P. (1964). "Architecture of the IBM System/360" (PDF). IBM Journal of Research and Development. 8 (2): 87–101. doi:10.1147/rd.82.0087. Archived (PDF) from the original on 2017-08-10.
  2. "Bank Switching - C64-Wiki". www.c64-wiki.com. Retrieved 2021-04-08.
  3. "NEC 78K0". NEC. Archived from the original on 2008-10-28. Retrieved 2009-02-10.
  4. Oberhaus, Daniel (February 9, 2019). "This Guy Designed and Built an 8-bit CPU from Scratch". Motherboard. Retrieved November 4, 2021.
  5. Constantino, Paulo. Homebuilt 8-bit CPU + Computer with graphics and sound made from scratch using 74HC Logic.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.