6 ms·
You can just try the instructions with an off-the-shelf assembler. They're not supported.
by bwasti 6y ago
You can just try the instructions with an off-the-shelf assembler. They're not supported.
- andy_ppp 6y agoI’m kind of interested about what happens if you throw random opcodes at processors now!
- dirtypersian 6y agoI would guess the processor would just cause an exception/interrupt and it would just call an OS level exception/interrupt handler which would probably tell the user what the exception/interrupt was that occured; in this case an unsupported instruction.
- nicoburns 6y agoI believe most processors have undocumented opcodes. Often used for internal debugging or similar.
- aw1621107 6y agoYou might be interested in sandsifter [0], which does precisely that! [0]: https://github.com/xoreaxeaxeax/sandsifter https://github.com/xoreaxeaxeax/sandsifter
- grishka 6y agoYour program will crash with SIGILL.
- saagarjha 6y agoUnless you have to toggle an MSR, of course…