Bob Barr wrote... [...] >The only thing that isn't obvious is why you would use 'lgoto' for the >jump back to the label 'begin' in the main file. Heh. Good point. Fact is, I threw that together in response to someone's inquiry way, way back, and I don't remember exactly why I did that. [...] >Using lgoto there could confuse a beginner into >thinking that call's and goto's always need to be done using lcall and >lgoto. That's the problem with writing "tutorial" code; people can draw inferences from what you've written that have nothing to do with the intent of the tutorial. I should re-write the whole thing as some sort of small, but functional, "real life" example. Someday... Dave D. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads