[Soft test site analysis] Software designer-memory is addressed by byte

1. Concept

Memory byte-addressed means that the storage unit pointed to by each address can store 1 byte of data, which is 8 bits (8 binary bits).

Pay attention to several common units here:

1B (Byte byte)=8bit

1KB (Kilobyte kilobytes)=1024B

1MB (Mega byte)=1024KB

1GB (Giga byte)=1024MB

Then 1024 words are 2^10.

2. Rewriting questions

topic:

Addressed in bytes in memory. If a memory chip with a storage capacity of 32K*8bit is used to form a memory with addresses from A0000H to DFFFFH, at least ____ chips are required.
A 4
B 8
C 16
D 32.

Analysis:

For 32K*8bit, 32 is 2^5, K is 2^10, 8bit is 2^3, so it is in total 2^18.
For A0000H-DFFFFH, there are actually DFFFFH+1H-A0000H addresses, that is, there are E0000H-A0000H=40000H addresses. H indicates hexadecimal, so 40000H is 2^(2+16)that is 2^18then due to the byte addressing, accounting for each address 2^3, so the total is 2^21.

The final 2^21division is 2^188, which is 8. Choose B.

Guess you like

Origin blog.csdn.net/woshisangsang/article/details/108516329