Memory capability and powers of 2How does a RAM work with a CPU?How to calculate index and tag fields lengths for a cpu cache?Differences, uses, and theory of volatile and nonvolatile memory?Determining memory address width from memory sizeWhat is the type of memory of a USB Flash drive and on a hard disc?Page table - I don't understand how this table has been madeIs it possible, and if so, how difficult would it be, to replace the volatile memory in Gameboy games with non-volatile memory?How does triple level cell FLASH memory achieve 3 bits per cell?Difference between a memory cell and a memory chip?Memory dump size does not match size of MTD partitionMaximum cells in a row in a SRAM memory array

Extrapolation v. Interpolation

What is a Union Word™?

Area of parallelogram = Area of square. Shear transform

How do professional electronic musicians/sound engineers combat listening fatigue?

Do Rabbis get punished in Heaven for wrong interpretations or claims?

Why are off grid solar setups only 12, 24, 48 VDC?

How did C64 games handle music during gameplay?

Why did computer video outputs go from digital to analog, then back to digital?

Using "Kollege" as "university friend"?

Why are angular mometum and angular velocity not necessarily parallel, but linear momentum and linear velocity are always parallel?

Monty Hall Problem with a Fallible Monty

Why is a dedicated QA team member necessary?

What exactly makes a General Products hull nearly indestructible?

kids pooling money for Lego League and taxes

Are gangsters hired to attack people at a train station classified as a terrorist attack?

How can I tell if there was a power cut while I was out?

Why do people say "I am broke" instead of "I am broken"?

Is it normal practice to screen share with a client?

how to add 1 milliseconds on a datetime string?

Why are there not any MRI machines available in Interstellar?

USA: Can a witness take the 5th to avoid perjury?

Problem loading expl3 in plain TeX

Will LSST make a significant increase in the rate of astronomical event alerts?

Which creatures count as green creatures?



Memory capability and powers of 2


How does a RAM work with a CPU?How to calculate index and tag fields lengths for a cpu cache?Differences, uses, and theory of volatile and nonvolatile memory?Determining memory address width from memory sizeWhat is the type of memory of a USB Flash drive and on a hard disc?Page table - I don't understand how this table has been madeIs it possible, and if so, how difficult would it be, to replace the volatile memory in Gameboy games with non-volatile memory?How does triple level cell FLASH memory achieve 3 bits per cell?Difference between a memory cell and a memory chip?Memory dump size does not match size of MTD partitionMaximum cells in a row in a SRAM memory array






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2












$begingroup$


Why are computer memory capabilities often multiples of a power of two, such as 2^10 = 1024 bytes?



I think it is something related to the binary logic, but I do not understand the precise reason for that.










share|improve this question











$endgroup$


















    2












    $begingroup$


    Why are computer memory capabilities often multiples of a power of two, such as 2^10 = 1024 bytes?



    I think it is something related to the binary logic, but I do not understand the precise reason for that.










    share|improve this question











    $endgroup$














      2












      2








      2





      $begingroup$


      Why are computer memory capabilities often multiples of a power of two, such as 2^10 = 1024 bytes?



      I think it is something related to the binary logic, but I do not understand the precise reason for that.










      share|improve this question











      $endgroup$




      Why are computer memory capabilities often multiples of a power of two, such as 2^10 = 1024 bytes?



      I think it is something related to the binary logic, but I do not understand the precise reason for that.







      memory computers binary non-volatile-memory flash-memories






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 9 hours ago







      Kinka-Byo

















      asked 9 hours ago









      Kinka-ByoKinka-Byo

      3782 silver badges7 bronze badges




      3782 silver badges7 bronze badges




















          3 Answers
          3






          active

          oldest

          votes


















          12












          $begingroup$

          Memory addresses are binary numbers. The range of an N-bit (unsigned) binary number is 0 to 2N-1, a total of 2N different values.



          Since addresses are passed to memory chips as binary numbers, it makes sense to build them in capacities of powers of 2. That way, none of the address space is wasted, and it's easy to combine multiple chips/modules to build larger memory systems with no gaps in the address space.






          share|improve this answer









          $endgroup$




















            6












            $begingroup$

            A 1024 x 1 memory chip requires 10 address lines and you get full utilisation of all addresses. Now, if someone brought out a 600 x 1 memory chip, it would still need 10 address lines. It can’t use 9 because that could only uniquely define 512 memory positions.



            Then think of what would happen if someone wanted to use two of the 600 x 1 memory chips to give a combined memory size of 1200. How would the address lines (plus 1 more) cope with numerically embracing each address slot uniquely and, if there is an MCU incrementing through memory in order to store contiguous data, that MCU would need special knowledge about the binary address numbers that are unused.






            share|improve this answer









            $endgroup$




















              2












              $begingroup$

              With 1 address wire you can access 2 different addresses. With N address bits or wires, you can access 2^N different addresses. Not much more complex than labeling 10 different items with single decimal digit or 26 different items with a single letter (depending on how many letters you have in your alphabet of course).






              share|improve this answer









              $endgroup$















                Your Answer






                StackExchange.ifUsing("editor", function ()
                return StackExchange.using("schematics", function ()
                StackExchange.schematics.init();
                );
                , "cicuitlab");

                StackExchange.ready(function()
                var channelOptions =
                tags: "".split(" "),
                id: "135"
                ;
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function()
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled)
                StackExchange.using("snippets", function()
                createEditor();
                );

                else
                createEditor();

                );

                function createEditor()
                StackExchange.prepareEditor(
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: false,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: null,
                bindNavPrevention: true,
                postfix: "",
                imageUploader:
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                ,
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                );



                );













                draft saved

                draft discarded


















                StackExchange.ready(
                function ()
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f450087%2fmemory-capability-and-powers-of-2%23new-answer', 'question_page');

                );

                Post as a guest















                Required, but never shown

























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                12












                $begingroup$

                Memory addresses are binary numbers. The range of an N-bit (unsigned) binary number is 0 to 2N-1, a total of 2N different values.



                Since addresses are passed to memory chips as binary numbers, it makes sense to build them in capacities of powers of 2. That way, none of the address space is wasted, and it's easy to combine multiple chips/modules to build larger memory systems with no gaps in the address space.






                share|improve this answer









                $endgroup$

















                  12












                  $begingroup$

                  Memory addresses are binary numbers. The range of an N-bit (unsigned) binary number is 0 to 2N-1, a total of 2N different values.



                  Since addresses are passed to memory chips as binary numbers, it makes sense to build them in capacities of powers of 2. That way, none of the address space is wasted, and it's easy to combine multiple chips/modules to build larger memory systems with no gaps in the address space.






                  share|improve this answer









                  $endgroup$















                    12












                    12








                    12





                    $begingroup$

                    Memory addresses are binary numbers. The range of an N-bit (unsigned) binary number is 0 to 2N-1, a total of 2N different values.



                    Since addresses are passed to memory chips as binary numbers, it makes sense to build them in capacities of powers of 2. That way, none of the address space is wasted, and it's easy to combine multiple chips/modules to build larger memory systems with no gaps in the address space.






                    share|improve this answer









                    $endgroup$



                    Memory addresses are binary numbers. The range of an N-bit (unsigned) binary number is 0 to 2N-1, a total of 2N different values.



                    Since addresses are passed to memory chips as binary numbers, it makes sense to build them in capacities of powers of 2. That way, none of the address space is wasted, and it's easy to combine multiple chips/modules to build larger memory systems with no gaps in the address space.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 9 hours ago









                    Dave TweedDave Tweed

                    131k10 gold badges164 silver badges282 bronze badges




                    131k10 gold badges164 silver badges282 bronze badges























                        6












                        $begingroup$

                        A 1024 x 1 memory chip requires 10 address lines and you get full utilisation of all addresses. Now, if someone brought out a 600 x 1 memory chip, it would still need 10 address lines. It can’t use 9 because that could only uniquely define 512 memory positions.



                        Then think of what would happen if someone wanted to use two of the 600 x 1 memory chips to give a combined memory size of 1200. How would the address lines (plus 1 more) cope with numerically embracing each address slot uniquely and, if there is an MCU incrementing through memory in order to store contiguous data, that MCU would need special knowledge about the binary address numbers that are unused.






                        share|improve this answer









                        $endgroup$

















                          6












                          $begingroup$

                          A 1024 x 1 memory chip requires 10 address lines and you get full utilisation of all addresses. Now, if someone brought out a 600 x 1 memory chip, it would still need 10 address lines. It can’t use 9 because that could only uniquely define 512 memory positions.



                          Then think of what would happen if someone wanted to use two of the 600 x 1 memory chips to give a combined memory size of 1200. How would the address lines (plus 1 more) cope with numerically embracing each address slot uniquely and, if there is an MCU incrementing through memory in order to store contiguous data, that MCU would need special knowledge about the binary address numbers that are unused.






                          share|improve this answer









                          $endgroup$















                            6












                            6








                            6





                            $begingroup$

                            A 1024 x 1 memory chip requires 10 address lines and you get full utilisation of all addresses. Now, if someone brought out a 600 x 1 memory chip, it would still need 10 address lines. It can’t use 9 because that could only uniquely define 512 memory positions.



                            Then think of what would happen if someone wanted to use two of the 600 x 1 memory chips to give a combined memory size of 1200. How would the address lines (plus 1 more) cope with numerically embracing each address slot uniquely and, if there is an MCU incrementing through memory in order to store contiguous data, that MCU would need special knowledge about the binary address numbers that are unused.






                            share|improve this answer









                            $endgroup$



                            A 1024 x 1 memory chip requires 10 address lines and you get full utilisation of all addresses. Now, if someone brought out a 600 x 1 memory chip, it would still need 10 address lines. It can’t use 9 because that could only uniquely define 512 memory positions.



                            Then think of what would happen if someone wanted to use two of the 600 x 1 memory chips to give a combined memory size of 1200. How would the address lines (plus 1 more) cope with numerically embracing each address slot uniquely and, if there is an MCU incrementing through memory in order to store contiguous data, that MCU would need special knowledge about the binary address numbers that are unused.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 8 hours ago









                            Andy akaAndy aka

                            250k11 gold badges193 silver badges445 bronze badges




                            250k11 gold badges193 silver badges445 bronze badges





















                                2












                                $begingroup$

                                With 1 address wire you can access 2 different addresses. With N address bits or wires, you can access 2^N different addresses. Not much more complex than labeling 10 different items with single decimal digit or 26 different items with a single letter (depending on how many letters you have in your alphabet of course).






                                share|improve this answer









                                $endgroup$

















                                  2












                                  $begingroup$

                                  With 1 address wire you can access 2 different addresses. With N address bits or wires, you can access 2^N different addresses. Not much more complex than labeling 10 different items with single decimal digit or 26 different items with a single letter (depending on how many letters you have in your alphabet of course).






                                  share|improve this answer









                                  $endgroup$















                                    2












                                    2








                                    2





                                    $begingroup$

                                    With 1 address wire you can access 2 different addresses. With N address bits or wires, you can access 2^N different addresses. Not much more complex than labeling 10 different items with single decimal digit or 26 different items with a single letter (depending on how many letters you have in your alphabet of course).






                                    share|improve this answer









                                    $endgroup$



                                    With 1 address wire you can access 2 different addresses. With N address bits or wires, you can access 2^N different addresses. Not much more complex than labeling 10 different items with single decimal digit or 26 different items with a single letter (depending on how many letters you have in your alphabet of course).







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered 6 hours ago









                                    JustmeJustme

                                    5,4862 gold badges6 silver badges17 bronze badges




                                    5,4862 gold badges6 silver badges17 bronze badges



























                                        draft saved

                                        draft discarded
















































                                        Thanks for contributing an answer to Electrical Engineering Stack Exchange!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid


                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.

                                        Use MathJax to format equations. MathJax reference.


                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f450087%2fmemory-capability-and-powers-of-2%23new-answer', 'question_page');

                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        Sahara Skak | Bilen | Luke uk diar | NawigatsjuunCommonskategorii: SaharaWikivoyage raisfeerer: Sahara26° N, 13° O

                                        The fall designs the understood secretary. Looking glass Science Shock Discovery Hot Everybody Loves Raymond Smile 곳 서비스 성실하다 Defas Kaloolon Definition: To combine or impregnate with sulphur or any of its compounds as to sulphurize caoutchouc in vulcanizing Flame colored Reason Useful Thin Help 갖다 유명하다 낙엽 장례식 Country Iron Definition: A fencer a gladiator one who exhibits his skill in the use of the sword Definition: The American black throated bunting Spiza Americana Nostalgic Needy Method to my madness 시키다 평가되다 전부 소설가 우아하다 Argument Tin Feeling Representative Gym Music Gaur Chicken 일쑤 코치 편 학생증 The harbor values the sugar. Vasagle Yammoe Enstatite Definition: Capable of being limited Road Neighborly Five Refer Built Kangaroo 비비다 Degree Release Bargain Horse 하루 형님 유교 석 동부 괴롭히다 경제력

                                        19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу