Consider a computer with the following characteristics: total of 16Mbytes of main memory; the word size of 2 bytes; block size of 16 bytes; and cache size of 8Kbytes.
a. For the main memory addresses of 1A0410, 031256, and 2BABCE, give the corresponding tags, cache line addresses, and word offsets for a direct-mapped cache (use hexadecimal numbers).
b. For the main memory addresses of 1F0410 and 2CABCE, give the corresponding tags and word offset values for a fully-associative cache (use hexadecimal numbers).
c. For the main memory addresses of 1F0410 and 2CABCE, give the corresponding tags, cache sets, and word offset values for a four-way set associative cache(use hexadecimal numbers).