This is the code I want to run
unsigned int val = 0;
for(unsigned int i = 0; i < 10; i++) {
_asm {
lbl:
rdseed eax;
jnc lbl;
mov val, eax;
}
std::cout << val << "\n";
}
It breaks on the second line and says illegal instruction like the compiler doesn't recognize it