News for hackers. Stuff that matters.
Re:ARM Assembly: ∞ Ways to Return (2017) by Olipro on Friday February 10, 2023 @03:11PM (#34745112)
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.

Re:ARM Assembly: ∞ Ways to Return (2017) by Dwedit on Friday February 10, 2023 @07:32PM (#34748084)
Correct, PC as a source register means PC + 8.