Martin,
you have confused me with your question. The org statements are usually
reserved for setting the positioning in ROM (the program space) and you
simply provide names (Aliases) for the actual register files. They are
paged and you need to set flags in the FSR for the data memory pages.
(Need to also flags in Status file for the paging control on program memory)
This stuff (the paged memory) is only drawback I see in the PICs.
regards
Gary Gaskell
DSTC
Cooperative Research Centre for Distributed Systems Technology
Queensland University of Technology
Ph +61-7-864 1051 FAX +61-7-864 1282
Email .....gaskellKILLspam
@spam@dstc.qut.edu.au URL http://www.dstc.edu.au/intro.html
On Mon, 31 Oct 1994, Martin L. Kirk wrote:
{Quote hidden}> Hello PIC users,
>
> I am using Parallax development tools to program a 16C57 PIC and
> I have a perplexing problem. Even though the 16C57 has register banks
> above 01Fh, I keep getting the error message:
>
> "register files must be from 0 - 01Fh"
>
> whenever I assemble code that operates on registers above that range. What
> am I missing? I did an ORG 08h for the lower registers and an ORG 30h
> after my register count got to 01Fh so that I would not encroach on space
> between 20h and 2Fh. My registers are currently assembled from:
>
> 08h to 01Fh
> and
> 30h to 3Eh
>
> Any help would be appreciated.
>
> Thanks,
>
> Martin Kirk
> Arizona State University
>
mlk
KILLspamasu.edu
> (602) 263-9270
>