gnupic: How to correctly use UDATA ?


Previous by date: 29 Aug 2007 11:04:45 +0100 Microchip AN724 compiled by SDCC ?, Vaclav Peroutka
Next by date: 29 Aug 2007 11:04:45 +0100 Re: [gnupic] How to correctly use UDATA ?, Robert Pearce
Previous in thread:
Next in thread:

Subject: How to correctly use UDATA ?
From: Vaclav ####@####.####
Date: 29 Aug 2007 11:04:45 +0100
Message-Id: <1243.2126-1406-224375478-1188381865@seznam.cz>

Hello all,

I used to use CBLOCK for uninitialized data section.

But now I am writing larger program so I need relocatable code. But I want to manage placing by myself to correct data-bank.

In LKR file there is following line:
DATABANK   NAME=gpr0     START=0x20     END=0x6F
DATABANK   NAME=gpr1     START=0xA0     END=0xEF

How can I set that some variables should be put into "gpr0" section and others into "gpr1" section ?

Thank you in advance and apologize for (maybe) stupid question,
Vaclav

Previous by date: 29 Aug 2007 11:04:45 +0100 Microchip AN724 compiled by SDCC ?, Vaclav Peroutka
Next by date: 29 Aug 2007 11:04:45 +0100 Re: [gnupic] How to correctly use UDATA ?, Robert Pearce
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.