Re:How I implemented my own crypto
by TheAceOfHearts on Thursday August 03, 2017 @04:28AM
(#14917902)
Aren't all undocumented instructions / opcodes actually UB? If you execute an undocumented instruction the processor has to do something.
[ Parent
| on HN ]
You can't really accidentally or unintentionally arrive at undefined behaviour in assembly language though. You would have to explicitly use an undocumented instruction or opcode and the result would probably be a hardware interrupt or exception every time.
Re:How I implemented my own crypto
by SAI_Peregrinus on Thursday August 03, 2017 @06:53AM
(#14918476)
Not quite every time though: https://github.com/xoreaxeaxeax/sandsifter