On Wed, 23 Jan 2002 08:28:51 -0800, Harold M Hallikainen wrote: > By all means, use a label! The assembler will let you know (give= you an >error message) if you branch too far... > Reminds me of back when I first started programming the old = MC6800. I >didn't have an assembler, so I coded it by hand in hex. I got real good >at counting forwards and backwards in hex... I'd just start with 0 at = the >beginning of the next instruction, then count FF, FE, FD, FC, etc. back >through the code until I got to where I wanted to branch to... > Ouch, that sounds painful, especially with the variable byte lengths of individual instructions between your branch and its target. I hope you didn't have to do that for too long. Regards, Bob -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics