Tony, this is an excellent idea. How about adding checkbox titled 'Include comments' Then, for example, you would copy something like this to the clipboard: '10000011' ; -- PCFG3:PCFG0, A/D Port configuration: A0125=A,A3=V ; -- ADFM, A/D result format: Right justified That way the source isn't full of magic numbers with no indication of what they mean. Bob Ammerman RAm Systems ----- Original Message ----- From: "Tony Nixon" To: Sent: Friday, May 24, 2002 2:15 AM Subject: [PIC]:Register Info > Hi all, > > > I often find that I need to open up a data sheet, PDF or paper, to find > what value to set OPTION_REG, ADCON0 etc. and usually use some binary > value to write to it so i can see what bits are set or not. This becomes > a pain after awhile, so I created a small Windows application that has > PIC register defintions and bit values available. > > It's a simple screen with a list of PICs available and when you select > one, a tabbed notebook appears with the various registers and bit > definitions. You can then select the register options, which are named > from the data sheet, and see what value the register becomes. you can > then copy it to the source if need. > > There is a text file included that has the register definitions in it > and can be added to or customised as needed. > > I've put some 16F87x chips in as a starter, and will add more when I get > time. > > I don't know if it's of use to anyone but if so.. > > http://www.bubblesoftonline.com/demo/regmon.zip > > > -- > Best regards > > Tony > > mICros > http://www.bubblesoftonline.com > mailto:sales@bubblesoftonline.com > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. > > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.