ISAs regularly leave all kinds of behavior undefined when they think it doesn’t matter (such as the state of the arithmetic flags after operations that shouldn’t need to the tested).
(But this is also irrelevant: assembly can be completely wrong and exploitable while also being perfectly well defined.)
(But this is also irrelevant: assembly can be completely wrong and exploitable while also being perfectly well defined.)