Welcome to C.
But more seriously it's the job of the program to not do undefined things.
But more seriously it's the job of the program to not do undefined things.
What's the undefined behavior in assembly?
Probably more important, way too many things in assembly vary by exact model. Can you name a portable language that fits those criteria?