(adsbygoogle = window.adsbygoogle || []).push({});
I'm reading a book on the hardware of the computer asnd how it works, but I just began getting a bit confused on what was trying to be described about the CPU and ALU, and how they works together. It says that the ALU is the part of the CPU that solves the operations....
The book says, "To illustrate this point, imagine, that one of those little black boxes in the code stream of Figure 1-1 is an addition operator (a + sign) and that two of the white data boxes contain two intergers to be added together, as shown in figure 1-2". You might need to looks at the pictures to get a better view of what i'm talking about.
A simple diagram in the book of the CPU (Figure 1-1): [ATTACH=CONFIG]17387[/ATTACH]
The operation being solved by the ALU(Figure 1-2): [ATTACH=CONFIG]17388[/ATTACH]
If you can please shed a little more light on what it's trying to explain about the diagram of the CPU and the operation of the ALU, please do. I understand it to some extent, but I don't unstand it fully and i'm a bit confused on a bit of the concept.
Also, on the bottom was a little more info, but I really don't feel like typing EVERYTHING out, so I posted a pic of the rest. [ATTACH=CONFIG]17390[/ATTACH]
Sorry for the bad photos, but I don't have the best video/picture cam in the world.
Okay, I think I understand it now. I was reading it over and over again at school and I think i've a good understanding on this part. So, if I had 1 + 3 = 4....1 and 3 would be the data, the addition operation is the instruction, and the 4 is the result?