Hacker News new | ask | show | jobs
by dzdt 3084 days ago
I guess he means the retpoline. On the 6502 there is no indirect jump instruction, so you need such tricks just to achieve an indirect jump at all.
1 comments

There's an indirect jump instruction. It's not very good though, and has a notorious bug with addresses ending in 0xFF.
Gah, you're right. Guess my memory is fading. There is indirect JMP, but no indirect JSR or indirect branches. And the indirect JMP as you say is not very useful.