gnupic: address space
Subject:
Re: address space
From:
Dante ####@####.####
Date:
10 Dec 2004 19:38:46 +0000
Message-Id: <Pine.LNX.4.61.0412101933460.19245@azathoth>
> I was browsing the gputils manual about this.
>
> Chapter 2 talks about a VARIABLE directive that does just that, but it is
> about gpal. I does know much about gpal.
>
> Chapter 3 talks about another VARIABLE directive, but this time for
> assembler. This one is similar to CONSTANT, but is variable only at
> compilation time, not runtime.
>
>
> If that can help, I use the following macros in all my asm PIC projects since
> maybe 2000:
>
>
> ===================== Code snipplet start
>
> if PIC_FAMILY==16870
> #define MAXLIB_MEMSTART_B0 0x020 ; 80 bytes + 16 shared
> #define MAXLIB_MEMSTART_B1 0x0A0 ; 80 bytes
> #define MAXLIB_MEMSTART_B2 0x110 ; 96 bytes
> #define MAXLIB_MEMSTART_B3 0x190 ; 96 bytes
<snip>
Thank you very much, this will help signifigantly. Since I was trying to
get things to work, I tossed human readability out the window and tried
hard codeing the data memory addresses. This will permit the same thing
but once again actual people can read and understand things.
Sorry, I really should attempt to read up a bit more on these things.
Thanks,
Keith
--
"I saw a really neat proof showing x^n+y^n=z^n has no solution for
non-zero integers x, y, and z when n>2, but there is not enough space to
show it in this sig."