Ed Edmondson wrote : > 1. I have been trying to learn assembler and have run across > a line in a program I don't understand. > > BCF OPTION_REG ^ 0X080, 7 > > What does the caret indicate? Others have said what the caret is, but not why it's used *here*. That is a way to supress the "not in bank 0" inforamtion message, if I'm not totaly wrong. > BCF - bit clear bit, destination OPTION_REG, ^ ???, 0x080 > Contents, 7 ??? > > 2. I have seen the ($) dollar sign used in some of the > programs I have looked at. I haven't seen any reference to > this symbol in the Microchip literature I have been reading. It's in the docs, but it means "here". That is the current program address. Generaly, do not use it (if you don't have very special reasons to do so). Jan-Erik. > > Regards, > Ed > > > > > > Ed Edmondson > 2202 Thomas Ave. #104 > Alamosa CO 81101-2229 > > DrEdwinPhd@bresnan.net > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist