All things in all posts will help you visualize about the way that computers work generally. Note that it is not the real structure of modern computers, but the way that modern computers work is nearly the same as in my posts. I am sure that if you understand about the way that computers work in my posts, you will easy to learn about all fields of computer afterward. Thank you !!!
In a previous post, we mentioned RAM (random address memory), which is a memory that helps store information in computers. When you want to buy something in a store, you must know the address of that store in the city that you live in. Similarly, when a computer wants to store or access information in RAM, the computer must know the address that the information will be stored in.
What is the address in RAM that the computer must use to choose the location of memory? That is the bits in MAR (memory address register) of RAM. Let us review the image of RAM structure below to know about this address in more detail:
The picture above represents the structure of simple RAM. You can see that we have a register on the leftmost (MAR) that provides bits for two decoders (each decoder chooses one wire “on”) to choose which intersection will be “on”.
As you know, with each 8 bits of register (MAR) going through two decoders, you will have only two wires at the state of “on” (one wire for each decoder, vertically and horizontally). And you can see that the 8 bits of MAR will determine the location of memory. Location of memory is the intersection that computers choose by address in the MAR.
And one more thing that I want you to remember is that about representing addresses in computers. As you know, computers will represent all information in a series of many states of bits (an object that has only two states: “on” or “off”). In a previous post, we also learned that the binary system is the number system that is used in computers because of the property of having two states (0 or 1) of it.
We often use languages such as “on” and “off” or “high” and “low”,...for signals in computers. But, because we had a binary system, we will use “0” and “1” for those signals. It is very short and assures unification in the computers. Now, both numbers and other information will be represented by “0”s and “1”s.
OK! We can represent an address of one byte such as 10001000,...easily and shortly now and remember that it is an address, not a true number in this situation. It is only based on digits of the binary system for representing addresses. This is also one advantage of the binary system.
Thanks for reading and see you later!!!
0 Nhận xét