Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

A Question About Memory Adresses In Ram

Status
Not open for further replies.

transgalactic

Newbie level 6
Newbie level 6
Joined
Apr 4, 2008
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,367
i was given a question where we have a RAM memory of 256kb
which consists out of 4 smaller RAMs so each component is
64Kb
why the address of each component is from 0H to FFFFH

i cant understand how from this range of addresses we get 64 Kb

???
 

i cant understand the logic
i was told to count 4k 1/4k 16 1

this is the memory representation of each place
but how did they get that 64k is FFFF
 

Hi,
How 0FFFFh is called 64k ( actually it is 65535 decimal, 64k - 1, including zero it is 64K) is as follows:

Just as in decimal system each digit in a number has a digit value (0 to 9) as well as a place value (units, tens hundreds etc.,) associated with it, in a hexadecimal numbering system each digit has sixteen values (0 t0 F) and a place value of units, 16, 256, 4096 etc.
We calculate the value of number n1n2n3 in a Decimal system as:
n1*100 + n2*10 + n3*1

Similarly the value of a hexadecimal number n1n2 n3 is computed as :

n1*256 +n2*16 + n3*1.

Therefore the value of number FFFFh can be worked out as (since F is decimal 15) :
15*4096 + 15*256 + 15*16 + 15 = 65535

As a convention, the number 1024 is called as 1k since it is almost equal to decimal 1000 and correspondingly 256 is called 1/4k and 2048 is called 2k and so on.

Regards,
Laktronics
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top