29.10. x86 random number generator instructions

If you run that executable multiple times, it prints a random number every time to stdout.

RDRAND is a true random number generator!

Generated some polemic when kernel devs wanted to use it as part of /dev/random, because it could be used as a cryptographic backdoor by Intel since it is a black box.

RDRAND sets the carry flag when data is ready so we must loop if the carry flag isn’t set.