gnupic: sdcc pic14 support


Previous by date: 15 Jan 2003 12:01:01 -0000 Re: picp - picstart plus firmware upgrades, Mikey Sklar
Next by date: 15 Jan 2003 12:01:01 -0000 Re: Documentation for $ shortcut for line number, Colin Kuskie
Previous in thread: 15 Jan 2003 12:01:01 -0000 sdcc pic14 support, Charles Lepple
Next in thread:

Subject: Re: sdcc pic14 support
From: Ralf Forsberg ####@####.####
Date: 15 Jan 2003 12:01:01 -0000
Message-Id: <20030115115211.GA9968@home.se>

On Tue, Jan 14, 2003 at 12:04:42PM -0500, Charles Lepple wrote:

I don't have answers to all your questions, but,

> What's the "proper" way to set the __CONFIG flags? I saw something in the
> code about assigning to address 0x2007, but I'm not really sure how to
> express that in C such that SDCC will parse it.

word at 0x2007  CONFIG = _WDT_OFF & _LVP_OFF;


> Finally, is there any way to give hints as to which bank a variable should
> be placed in?

You can specify address like this:

data at 0x111 volatile char myvar;

 / Ralf


Previous by date: 15 Jan 2003 12:01:01 -0000 Re: picp - picstart plus firmware upgrades, Mikey Sklar
Next by date: 15 Jan 2003 12:01:01 -0000 Re: Documentation for $ shortcut for line number, Colin Kuskie
Previous in thread: 15 Jan 2003 12:01:01 -0000 sdcc pic14 support, Charles Lepple
Next in thread:


Powered by ezmlm-browse 0.20.