Consider a 32-bit computer. With 2-way associative cache, cache blocks are 8 words each and has 512 sets. Consider the following code block
int A[N]; for(int