Hacker News new | ask | show | jobs
by mijoharas 1322 days ago
So... How does it work then?
2 comments

There's a POP instruction in the loop that pops to a memory location addressed by a register. When that register contains the address of the final JMP instruction, the latter gets overwritten by a forward JMP.
There's nops at the beginning of the loop that get written over.