what's the easiest way to do a vectored jump (in asm) ?
I'm used to doing it like this for the PIC:
movfw variable ; read offset
addwf PC, F ; add it to the program counter
(jump to here if 0) ; end up here
(jump to here if 1) ; etc
which is really neat and fast. How would you achieve the same thing for the AVR ?