Converting from 1Mbyte to Hex

user379888 picture user379888 · Apr 16, 2012 · Viewed 23.7k times · Source

I am having problem understanding the following text,

8088 supports 1 Mbyte of external memory. This memory space is organized from a software point of view as individual bytes of data stored at consecutive address over the address range 00000 to FFFFF.

Now I don't get how the author converted from 1 Mbyte to FFFFF. Can anyone please help me out?

Thanks.

Answer

Nathan Fellman picture Nathan Fellman · Apr 16, 2012

1 Megabyte is 2^20. That means that you need 20 bits to represent it. The range 00000-FFFFF holds all possible values of 20 bits.