Hacker News new | past | comments | ask | show | jobs | submit login

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.




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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: