CPU Register Components: Buses and 1 Byte

  • Thread starter Thread starter nabil__
  • Start date Start date
  • Tags Tags
    cpu
Click For Summary
In CPU architecture, the discussion highlights that if a CPU has eight wires (buses) connected to register components, it can transfer data 8 bits at a time. For a 32-bit register, this would mean the data must travel four times to store a complete value, which is unusual for typical architectures. The conversation suggests that the architecture may actually be 64-bit, where the wires represent bytes, allowing for more efficient data transfer. It also clarifies that there are no true 32-bit registers, but rather four independent 8-bit registers, along with an accumulator and a result register for ALU operations. The participants express a desire for more resources and clarity on CPU architecture, particularly in relation to the 6502 and other historical CPUs.
nabil__
Messages
7
Reaction score
0
In a CPU there are eight wires (buses) connected to the register components.
which means the data can travel 8 bits as a time ? if the register is 32 bit and the value i want to store in a specific register the data must be travel 4 times in a row and store the binary value to a register?
 
Engineering news on Phys.org
If the wires really represents one bit, then yes.
However, I've never heard of such weird CPU architecture where 32 bit registers had only 8 bit internal buses. Could you please give more details?

Alternative is, that actually it's a 64 bit CPU where the 'wires' would represent a byte. Then to transfer 32 bit would require just one cycle of 'half-bus'.
 
OK it's just a simple 8 bit CPU. Kind of like part of the good old 6502 (with some differences).
There is no 32 bit register: those are four independent 8 bit registers. Let's name them R0 to R3. There is one more 'accumulator' register providing one input for the 8 bit ALU, and also there is one 'result' register for the output of the ALU.

The ALU requires two input byte. One is provided by the accumulator, which you have to load with the data you want to use: one is provided by the register block.
All the addressing and such is missing.

What's now happening on the picture is that according to the 'instruction' the control unit sets the ALU to do something between the content of the accumulator and R0.
The result available from the 'result' register.
 
Rive said:
All the addressing and such is missing.
You mean "Instruction Address Register" & "Memory Address Register" ?
Apart from those what else is missing ? Can i follow this diagram to learn ?
 
Last edited:
Can't tell: compared to a 6502-like architecture there is only a few things missing (also, there are a few extra): compared to a 8085 or Z80, many things are missing or connected the wrong way.
It would be good to know if there was a specific CPU family for the diagram or it's just a sketch.

For 6502 reference you can check here. Apart from the explanation and some sequences there is also a data path there.
 
Rive said:
8085
I want to learn more briefly. Is thee any book you can suggest me which might be good fit for me.
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
Replies
2
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • Sticky
  • · Replies 13 ·
Replies
13
Views
7K
Replies
10
Views
3K