> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-assembly" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- Follow-Ups:
- Re: writing a jump table
- From: Nicolas Bock
- Re: writing a jump table
- From: Nicolas Bock
- Re: writing a jump table
- From: Nicolas Bock
- Re: writing a jump table
- References:
- writing a jump table
- From: Nicolas Bock
- writing a jump table
- Prev by Date: writing a jump table
- Next by Date: Re: writing a jump table
- Previous by thread: writing a jump table
- Next by thread: Re: writing a jump table
- Index(es):