Hacker News new | ask | show | jobs
by Olipro 1224 days ago
For older architectures, you really want to use the BX instruction unless you can guarantee you're not switching execution mode.

as a bit of pointless trivia, MOV PC, PC does not cause an infinite loop - it skips the instruction immediately following.

1 comments

Correct, PC as a source register means PC + 8.