gnupic: hiccoughs on the learning curve.


Previous by date: 30 Sep 2002 09:47:04 -0000 Re: hiccoughs on the learning curve., Declan Moriarty
Next by date: 30 Sep 2002 09:47:04 -0000 Re: hiccoughs on the learning curve., Ralf Forsberg
Previous in thread: 30 Sep 2002 09:47:04 -0000 Re: hiccoughs on the learning curve., Declan Moriarty
Next in thread: 30 Sep 2002 09:47:04 -0000 Re: hiccoughs on the learning curve., Ralf Forsberg

Subject: Re: hiccoughs on the learning curve.
From: Scott Dattalo ####@####.####
Date: 30 Sep 2002 09:47:04 -0000
Message-Id: <Pine.LNX.4.44.0209300239130.3287-100000@ruckus.brouhaha.com>

On Mon, 30 Sep 2002, 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? 
> I grepped around once I had the answer and found an 'obvious' example in an 
> 'obvious' place /usr/src/gpsim-0.20.14/examples/14bit/p16f877_test2.asm

The __CONFIG directive and all of the configuration options are describe
in the MPASM user's guide. Recall that gpasm is an open source
implementation of MPASM. You may also wish to read about the configuration
bits in the data sheet on the 16f877. In addition, you can look at the 
'F877 include file to see how all of these components are defined. I 
suppose it was only fortuitous that gpsim had an 'obvious' example of the 
__CONFIG. 

Scott


Previous by date: 30 Sep 2002 09:47:04 -0000 Re: hiccoughs on the learning curve., Declan Moriarty
Next by date: 30 Sep 2002 09:47:04 -0000 Re: hiccoughs on the learning curve., Ralf Forsberg
Previous in thread: 30 Sep 2002 09:47:04 -0000 Re: hiccoughs on the learning curve., Declan Moriarty
Next in thread: 30 Sep 2002 09:47:04 -0000 Re: hiccoughs on the learning curve., Ralf Forsberg


Powered by ezmlm-browse 0.20.