How can we verify a memory whose address location is swapped

In reply to debashis_paul:

I have a question to you Debashish:

When you say the 0x20 is swapped with 0x40, what would happen when you do any write to 0x40 ? Will it hit 0x20 or will it stay at 0x40 ?

If by swapping you actually mean, 0x20 is swapped with 0x40, i.e. all writes and reads to 0x20 would hit 0x40 and all writes and reads to 0x40 would hit 0x20. This would still be a valid memory operation right ? There is no issue here as long as the 2 addresses are not conflicting with each other right ?