Data unit

4-bit computing

In computer architecture, 4-bit integers, or other data units are those that are 4 bits wide. Also, 4-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 4-bit CPUs are generally much larger than 4-bit (since only 16 memory locations would be very restrictive), such as 12-bit or more, while they could in theory be 8-bit. A group of four bits is also called a nibble and has 24 = 16 possible values. Some of the first microprocessors had a 4-bit word length and were developed around 1970. Traditional (non-quantum) 4-bit computers are by now obsolete, while recent quantum computers are 4-bit, but also based on qubits, such as the IBM Q Experience. See also: Bit slicing#Bit-sliced quantum computers. The first commercial microprocessor was the binary-coded decimal (BCD-based) Intel 4004, developed for calculator applications in 1971; it had a 4-bit word length, but had 8-bit instructions and 12-bit addresses. It was succeeded by the Intel 4040. The Texas Instruments TMS 1000 (1974) was a 4-bit CPU; it had a Harvard architecture, with an on-chip instruction ROM, 8-bit-wide instructions and an on-chip data RAM with 4-bit words. The Rockwell PPS-4 was another early 4-bit processor, introduced in 1972, which had a long lifetime in handheld games and similar roles. It was steadily improved and by 1975 been combined with several support chips to make a one-chip computer. The 4-bit processors were programmed in assembly language or Forth, e.g. "MARC4 Family of 4 bit Forth CPU" (which is now discontinued) because of the extreme size constraint on programs and because common programming languages (for microcontrollers, 8-bit and larger), such as the C programming language, do not support 4-bit data types (C, and C++, and more languages require that the size of the char data type be at least 8 bits, and that all data types other than bitfields have a size that is a multiple of the character size). The 1970s saw the emergence of 4-bit software applications for mass markets like pocket calculators. During the 1980s 4-bit microprocessor were used in handheld electronic games to keep costs low. In the 1970s and 1980s, a number of research and commercial computers used bit slicing, in which the CPU's arithmetic logic unit (ALU) was built from multiple 4-bit-wide sections, each section including a chip such as an Am2901 or 74181 chip. The Zilog Z80, although it is an 8-bit microprocessor, has a 4-bit ALU. Although the Data General Nova is a series of 16-bit minicomputers, the original Nova and the Nova 1200 internally processed numbers 4 bits at a time with a 4-bit ALU,sometimes called "nybble-serial". The HP Saturn processors, used in many Hewlett-Packard calculators between 1984 and 2003 (including the HP 48 series of scientific calculators) are "4-bit" (or hybrid 64-/4-bit) machines; as the Intel 4004 did, they string multiple 4-bit words together, e.g. to form a 20-bit memory address, and most of the registers are 64 bits wide, storing 16 4-bit digits. In addition, some early calculators – such as the 1967 , the 1972 Sinclair Executive, and the aforementioned 1984 HP Saturn – had 4-bit datapaths that accessed their registers 4 bits (one BCD digit) at a time. 4-bit CPUs/microcontrollers are very hard to find at sellers of semiconductors (including manufacturers' websites, since most if not all have discontinued), while can still be found "brand new" on Ebay. (Wikipedia).

4-bit computing
Video thumbnail

What is the 4th Dimension REALLY? - 4D Golf Devlog #2

A more practical explanation for those interested in exploring 4D spaces. For those not already familiar with basic 4D concepts, here's some videos I can recommend: "Visualizing 4D Geometry" https://www.youtube.com/watch?v=4URVJ3D8e8k "The things you'll find in higher dimensions" https:/

From playlist 4D Golf

Video thumbnail

4th dimension 'n stuff -- Day 5

alright, 4th dimension visualized! -- Watch live at https://www.twitch.tv/simuleios

From playlist 4d visualization

Video thumbnail

4th dimension 'n stuff -- Day 1

alright, trying to visualize 4d. We'll see how this goes! -- Watch live at https://www.twitch.tv/simuleios

From playlist 4d visualization

Video thumbnail

4D Printing is the Future of Design

Share on Facebook: http://on.fb.me/1xxfZWj That's right, it's one D better! Actually, 4D printing is about using a 3D printer to produce self-reconfiguring, programmable material that intelligently arranges itself into basically any object -- with no computers or electricity required! Sky

From playlist Fw:Thinking

Video thumbnail

Machine Learning

If you are interested in learning more about this topic, please visit http://www.gcflearnfree.org/ to view the entire tutorial on our website. It includes instructional text, informational graphics, examples, and even interactives for you to practice and apply what you've learned.

From playlist Machine Learning

Video thumbnail

the C language (part 5 of 5)

Introduction to the C programming language. Part of a larger series teaching programming. See http://codeschool.org

From playlist The C language

Video thumbnail

4th dimension 'n stuff -- Day 4

alright, figured out some of this projection nonsense. Not all of it, but some of it... -- Watch live at https://www.twitch.tv/simuleios

From playlist 4d visualization

Video thumbnail

the C language (part 2 of 5)

Introduction to the C programming language. Part of a larger series teaching programming. See http://codeschool.org

From playlist The C language

Video thumbnail

I visualized 4D shapes #SoME2

#some2 Articles about computer graphics: https://iquilezles.org/ Ray marching tutorials: https://www.youtube.com/c/TheArtofCodeIsCool In this video I am trying to construct a visualization of 4D shapes

From playlist Summer of Math Exposition 2 videos

Video thumbnail

C Programming Tutorial for Beginners | Edureka

Watch the sample class recording: http://www.edureka.co/c-programming-datastructure-course?utm_source=youtube&utm_medium=referral&utm_campaign=c-programming C programming is a general purpose programming language. C has facilities for structured programming and allows lexical variable sco

From playlist Learn C programming

Video thumbnail

An Overview of Arrays and Memory (Data Structures & Algorithms #2)

How does memory / RAM work on a computer? Watch this video to find out! Check out Brilliant.org (https://brilliant.org/CSDojo/), a website for learning math and computer science concepts through solving problems. First 200 subscribers will get 20% off through the link above. Special thank

From playlist Data Structures and Algorithms

Video thumbnail

Hardware - CS50's Understanding Technology 2017

00:00:00 - Binary 00:07:41 - Binary Lamps 00:09:53 - ASCII 00:13:51 - HI 00:16:37 - CPU 00:20:05 - System on a Chip (SoaC) 00:21:10 - RAM 00:25:26 - Hard Disk 00:31:50 - Flash Memory 00:35:48 - Funneling 00:36:35 - Other Types of Memory 00:40:55 - Candy Store 00:42:40 - Display Connectors

From playlist CS50's Understanding Technology 2017

Video thumbnail

Are Quantum Computers Really A Threat To Cryptography?

Shor's Algorithm for factoring integer numbers is the big threat to cryptography (RSA/ECC) as it reduces the complexity from exponential to polynomial, which means a Quantum Computer can reduce the time to crack RSA-2048 to a mere 10 seconds. However current noisy NISQ type quantum compute

From playlist Blockchain

Video thumbnail

Computational Thinking - CS50 for Lawyers 2019

00:00:00 - Introduction 00:00:15 - Computational Thinking 00:01:54 - Representation 00:05:13 - Binary 00:14:36 - Representing Letters 00:16:37 - Unicode 00:19:33 - Abstraction 00:22:09 - RGB 00:24:22 - Representing Images and Videos 00:29:54 - Finding Mike Smith 00:31:38 - Solving Problems

From playlist CS50 for Lawyers 2019

Video thumbnail

Floating Point Representation

Floating Point Representation

From playlist Scientific Computing

Video thumbnail

8-bit CPU control logic: Part 2

In this video, we talk about the difference between instructions and microinstructions. Then we build a ring counter to keep track of where we are in the instruction cycle. Finally, we hook up a quick-and-dirty implementation of the fetch cycle to demonstrate instruction fetching. See http

From playlist Building an 8-bit breadboard computer!

Video thumbnail

Reprogramming CPU microcode with an Arduino

The code from this video is on GitHub: http://bit.ly/2sK7Qlb More 8-bit computer: https://eater.net/8bit Support me on Patreon: https://www.patreon.com/beneater https://www.eater.net https://twitter.com/ben_eater https://www.patreon.com/beneater

From playlist Building an 8-bit breadboard computer!

Video thumbnail

Bitwise Operators 2: The OR Operation

This computer science video describes the bitwise operation OR. It explains how the OR operation works with unsigned integers and how the OR operation can be used with a bitmask to manipulate the contents of a register containing bit flags. The equivalent OR operators are demonstrated i

From playlist Bitwise Operators

Video thumbnail

Week 0: Wednesday - CS50 2011 - Harvard University

Introduction. Bits. Binary. ASCII. Programming. Algorithms. Scratch. Statements. Boolean expressions. Conditions. Loops. Variables. Threads. Events.

From playlist CS50 Lectures 2011

Related pages

Octal | Arithmetic logic unit | Hexadecimal | Forth (programming language) | Decimal | Integer (computer science) | HP Saturn | Binary-coded decimal | Bit | Nibble | Character (computing)