Re: writing a jump table
Brian Raiter <[email protected]> Tue, 15 Mar 2011 17:25:03 -0700
| Newsgroups | org.kernel.vger.linux-assembly |
|---|---|
| Message-ID | <[email protected]> |
> I am trying to write a jump table, but unfortunately with limited > success. When I compile the code and disassemble it, the offset of > "table" is 0, which I guess means that something didn't work out. Actually, table appears immediately following your indirect jump instruction, so I would assume that the offset would be zero. Did you actually try this code to verify that it doesn't do what you expect? b