Hi Ramesh,
I think it depends on your .mem file.
If the location is mentioned as Read...and if you write on this location,
Then it would go to hang status.
If you have mentioned the Memory location as ReadWrite, then there will be no error.
But there will be a obvious data loss.
Regards,
tkv