Hacker News new | ask | show | jobs
by haberman 4572 days ago
Just do an indirect branch, using a table of target pointers. If you had the opcode in eax, the single instruction would be something like:

    jmp  [lookupTable + eax]
1 comments

Ah, good point. Thanks!