gnupic: hiccoughs on the learning curve.
Subject:
Re: hiccoughs on the learning curve.
From:
Ralf Forsberg ####@####.####
Date:
30 Sep 2002 09:55:13 -0000
Message-Id: <20020930095224.GA14821@home.se>
On Mon, Sep 30, 2002 at 11:21:43AM +0100, Declan Moriarty wrote:
> >
> > Or if you want, you can disable the watchdog in the configuration word.
> > __config _wdt_off
> > in your .asm file.
>
> THANKS FOR THAT! That is one of the better kept secrets in this thing. Am I
> correct I can set many of the options for the config word, with syntax such
> as that in the .asm file? Does gpasm then write a config word? Where can
> I find the syntax for any other settable options?
Look in the header files that came with gpasm.
Possibly /usr/local/share/gputils/header/p16f877.inc or similar.
You add configuration options with the & operator.
__CONFIG _WDT_OFF & _XT_OSC
/ Ralf