Considering a machine with a byte-addressable main memory of 256 Kbytes and a block size of 8 bytes. With a set associative mapped cache consisting of 32 lines divided into 2-line sets.
- How many bytes will be stored in the cache?
- How many bits are there in the main memory address?
- How is the main memory address divided up to provide the mapping to the cache?
- Into which set would the byte with the following address be stored - 110101010101011010?
Explanations as to why would be extremely helpful as i'm trying to understand how to work these out for further understanding.