Y
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
haldean
4571 days ago
Ah, good point. Thanks!
link