"I wonder if the Japanese surrender would have been different had the emperor been in one of those 2 places when the bomb dropped?"
Not a good idea because then there would be nobody to tell the Japanese to surrender. In Germany the death of Hitler allowed the more sensible generals to make peace. In Japan the death of the emperor would have caused the less sensible generals to fight to the last man.