Debug Query

If I send data to the addr0 location but it will goes to the addr1 and
If I send data to the add1 location but it will goes to the addr0
how we can find the bug ?
what are the ways to approch to solve the issue ?

In reply to prasanthB:

You need to answer the question “Why would that be a bug?”

In reply to dave_59:

Yes could you please let me know the answer @dave

In reply to prasanthB:

In reply to dave_59:
Yes could you please let me know the answer @dave

That does not answer the question.