This problem utilizes the Pep/8 computer..

A CPU can address 16 MB of main memory. It has a direct-mapped cache which it stores
256 8-byte cache lines.
(a). How many bits are required for a memory address?
(b). How many bits are required for the byte field of the address?
(c). How many bits are required for the line field of the address?
(d). How many bits are required for the tag field of the address?
(e). How many bits are required for the data field of each cache entry?
(f). How many bits are required for all the fields of one cache entry?
(g). How many bits total are required for the entire cache?


I think if I can figure out part a I can do the rest. Is the answer to part a 25 bits?