If you don't know anything about the environment the code runs in, you can't rely on what action the undefined opcode handler will take either. (same for any other exception)
Some operating systems used them for syscalls.
Some operating systems used them for syscalls.
2. you might know everything about the environments and that's how you know that different environments use different interrupt tables, but you want a code snippet that will not rely on that, so you use this guaranteed opcode.
https://devblogs.microsoft.com/oldnewthing/20041215-00/?p=37...