Memory Address Calculation in Computer

Source: Internet
Author: User

This type of question often appears in the software designer examination (for example, the software designer examination question in the second half of 2013)

The address number ranges from H to bffffh, and the size of the address is () kb. If the memory chip of 16 K * 4 bit is used to form the memory, a () disk is required.

First of all, we should be very familiar with this. Generally, numbers ending with H usually refer to hexadecimal numbers. in hexadecimal notation, a 10 B 11 and so on .....

We can calculate the memory capacity in this way.


= Bffff-80000 + 1

= C00000-80000

= (C-8) * 16 ^ 4

= 4*16 ^ 4 = 4*2 ^ 16

Because 1kb = 2 ^ 10bit

So = 4*2 ^ 6 = 256kb


You can also calculate = 40000 (hexadecimal) = 4*16 ^ 4 (decimal) in hexadecimal notation)


Therefore, the memory capacity is (256) kb.


Because the memory is encoded by byte, 256/8 = 32, so 32 pieces are required.


Memory Address Calculation in Computer

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.