On Tue, 22 Feb 2005 00:02:30 +1300, Eric <erichards@clear.net.nz> wrote: > > Hi all chat'ers > In C/C++ there is a "case" statement, is there such a thing in assembly > code? and is there a example > around. I think you use your variable to jump to different locations. (add it to the address). You must make sure you can't jump "out of bounds". You'll probably make other jumps or calls at each of the possible addresses... Note that my ASM days are a while back and there might well be cleaner things to do this. ST
Message
Re: [AVR-Chat] the "case" statement
2005-02-21 by Stefan Trethan