How to calculate memory size ?|| How to calculate number of bits in Address

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ต.ค. 2024
  • #MemorySize #AddressBus #Howtocalculatememorysize #Howtocalculateaddressbuswidth This video explains the the how one can calculate the memory size using the address bus and how one can calculate the address bus width using the memory size. the size of memory is really important term and one needs to know especially programming in assembly language.
    ..............................................................................
    This is the video is part of course "Microcontroller Programming with PIC18F"
    ..............................................................................
    #LearnOnline initiates the course with title " Microcontroller Programming PIC18F"
    ..............................................................................
    Our Top rated playlists are :
    Microprocessors and Assembly language Programming
    " • Microprocessor & Assem... "
    ..............................................................................
    Playlist2: Microcontroller Programming PIC18F
    " • Microcontroller Progra... "
    ..............................................................................
    Comment on our pages, playlist, videos to feedback us:
    ..............................................................................
    Subscribe to have notifications of our recent upload
    " / @learnonline1 "
    ..............................................................................
    Videos on demand can be featured on your requirements.

ความคิดเห็น • 16

  • @CalmingVibes
    @CalmingVibes 4 ปีที่แล้ว

    Awesome content loved it!!!

  • @ChathurangaLakmal
    @ChathurangaLakmal 3 ปีที่แล้ว +1

    Superb & Well explained 💪👍
    You saved my day. Thanks a lot. 🙏

    • @LearnOnline1
      @LearnOnline1  3 ปีที่แล้ว +1

      Thanks for appreciation . I am pleased that I could help. Kindly subscribe and promote my channel.

  • @shahrozatiq5312
    @shahrozatiq5312 2 ปีที่แล้ว +1

    Can you please tell how can we represent 65bits in ram size?

    • @LearnOnline1
      @LearnOnline1  2 ปีที่แล้ว

      Your question is not clear. However, If I understand correctly. you mean 65 bits in the address. then you will have 2^65 locations and let say each location can carry m bits then the capacity of ram will be 2^65 *m.

    • @shahrozatiq5312
      @shahrozatiq5312 2 ปีที่แล้ว +1

      @@LearnOnline1 if the ram size is 22mb so the address width bit is 25?

    • @LearnOnline1
      @LearnOnline1  2 ปีที่แล้ว

      @@shahrozatiq5312 22 MB seems something awkward. it should be the power of 2. For example, could be 2,4,8,16 something like that. for 25-bit address... 2^25=2^20* 2^5=1M *32 =32M locations. Assuming each location is 1B so 32MB Capacity.

    • @shahrozatiq5312
      @shahrozatiq5312 2 ปีที่แล้ว

      @@LearnOnline1 today was my test and question was If the ram size is 26mb ,_______ would be the number of bits.
      So I write 25 cause 26mb will fall in 2^5 x 2^20

    • @LearnOnline1
      @LearnOnline1  2 ปีที่แล้ว +1

      @@shahrozatiq5312 your question is not complete. ...... WOULD BE NUMBER OF BITS IN WHAT ?? in address ? or in RAM? For example, in RAM it would be= 26MB=26*2^20*8 bits in terms of Capacity shown in bits. However, if the question is about a number of bits in the Address then my previous solution is valid.

  • @muhammadjaved7210
    @muhammadjaved7210 4 ปีที่แล้ว

    nice work

  • @ganeshkiran6232
    @ganeshkiran6232 2 ปีที่แล้ว +1

    What about 6kb ??

    • @LearnOnline1
      @LearnOnline1  2 ปีที่แล้ว

      Assuming 8bits are stored in one location as asssumed in the same video..one cant completely break down it into power of 2. So either of is done with cascading of two or more smaller campacity chips. Or one can use bigger chip like 8KB. And some of the addres range is not used for real addressing .