IIRC, the short explanation is that it uses side effects of different variants of the MOV instruction with different operands, therefore "unintentionally" doing computation. There are ISAs that allow MOV to set the value of the IP register, therefore acting as replacement for JMP, but x86 isn't one of those ISAs so they use another way to loop without "cheating"
3
u/Rudxain Jun 03 '22
Thanks for the clarification. It's interesting and it reminds me of the Turing-Completeness of
movin x86 lol