What does a 4-bit Micro-processor do?

  • Thread starter Thread starter Young Learner
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the capabilities and historical context of 4-bit microprocessors, particularly focusing on the Intel 4004. Participants explore the types of operations these processors can perform, their architecture, and their applications in early computing devices.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants question whether a 4-bit processor is limited to addition, noting that the Intel 4004 was the first commercially available microprocessor.
  • Others suggest that 4-bit micros could be combined to create larger CPUs, originally aimed at cash registers and calculators, with addition being a significant achievement.
  • One participant explains that a 4-bit microprocessor can perform various operations depending on its instruction set and design, with the potential for 32 or more instructions based on clever encoding.
  • Another participant mentions that 8 commands could theoretically be sufficient to write any program, referencing a minimalist programming language.
  • Discussion includes the Intel 4004's specific instructions, such as addition, subtraction, and decimal adjust, while questioning the use of binary versus BCD in early calculators.
  • One participant raises the idea that a command set needs to be Turing complete, suggesting that the implementation complexity often lies in the hardware.
  • There is a nostalgic reference to the challenges of building CPUs in earlier computing eras, contrasting it with modern experiences of installing processors.

Areas of Agreement / Disagreement

Participants express differing views on the capabilities of 4-bit processors, particularly regarding their operational limits and the nature of their instruction sets. There is no consensus on whether the Intel 4004 was solely for addition or if it had broader functionalities.

Contextual Notes

Discussion reflects varying assumptions about the architecture and capabilities of early microprocessors, including the implications of instruction set design and hardware limitations.

Young Learner
Messages
40
Reaction score
0
Today I just came across a video in youtube,"Making your own 4-bit processor". Does a 4-bit processor performs only addition. I also searched and came to know that Intel 4004 was the first commercially available micro-processor. Did Intel released a processor which worth only adding?
 
Computer science news on Phys.org
The 4-bit micros could be ganged together to make an arbitrarily larger CPU. I think the initial audience was for cash register machines and desktop calculators.

Doing addition was a great feat. Other arithmetic operations could be done in software, slower but still workable.

http://en.wikipedia.org/wiki/4004
 
A 4-bit microprocessor can do any manipulation that can be done 4 bits at a time.
All depends on how you encoded it and what it is hooked up to.

If you only use 4 bits per instruction, then you can have 32 separate instructions.
If one of the instructions is "treat the following two nibbles as one instruction" then you could, in principle, have 256 additional instructions - each taking 3 machine cycles to load. But an instruction could be "run in 8-bit mode" in which case everything takes two machine cycles to load.

It depends on how clever the designers were.
The 4004 had 46 instructions... 41 were 8 bits wide.
But you can do a lot with 32 instructions.

Before the 4004, the CPU was not even all one component.
 
In a way 8 commands are enough to write any program (think brain**** - sigh, profanity filter doesn't allow to properly post name of the language).
 
Young Learner said:
Does a 4-bit processor performs only addition. I also searched and came to know that Intel 4004 was the first commercially available micro-processor. Did Intel released a processor which worth only adding?
The Intel 4004 has an add, subtract, and a decimal adjust instruction (for handling bcd addition, I don't see an adjust for subraction, so you'd have to use 10's complement math for negative bcd numbers (subtract a number from all 9's, then increment the result)). I'm not sure if early 4004 based calculators used binary or bcd.

Another 4 bit / bit slice processor chip series (not a complete cpu in a chip) was the AMD 2900 series. Several 16 bit mini-computers were based on the 2900 series of chips. Additional hardware was used to convert a mini-computer's machine language into 2900 operations.

http://en.wikipedia.org/wiki/AMD_Am2900
 
Last edited:
Only require the command set to be Turing complete don't we - something like that?
Thue is Turing complete, has 1 command and 2 operands.
http://en.wikipedia.org/wiki/Thue_(programming_language)
... but most of the implementation is in the hardware in that case right?

... and in the good ol' days, we used to have to build out own CPUs one valve at a time. Why the kids of today...
 
Last edited by a moderator:
Simon Bridge said:
... and in the good ol' days, we used to have to build out own CPUs one valve at a time. Why the kids of today...

And I though it was hard and nerve-wrecking putting my new i5 into place :biggrin:
 

Similar threads

  • · Replies 37 ·
2
Replies
37
Views
7K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 34 ·
2
Replies
34
Views
9K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 9 ·
Replies
9
Views
7K
  • · Replies 13 ·
Replies
13
Views
5K
Replies
29
Views
5K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K