gnupic: Using indirect addressing


Previous by date: 29 Apr 2008 16:35:32 -0000 [Err] Re: [gnupic] Gpsim stability problems, spam_master.enage.com
Next by date: 29 Apr 2008 16:35:32 -0000 [Err] [gnupic] Using indirect addressing, spam_master.enage.com
Previous in thread:
Next in thread:

Subject: Using indirect addressing
From: "seventh guardian" ####@####.####
Date: 29 Apr 2008 16:35:32 -0000
Message-Id: <1caff7430804290935j406a9d6ck15b2f7050d023ebd@mail.gmail.com>

Hello,

First of all, this is my first post to the list, and since I've
received no confirmation of my subscription, I'd kindly ask you to
keep my e-mail in CC.

I'm trying to figure out how to use the indirect data addressing
facilities of the newer pic18 MCU's. I've reserved X bytes on a
relocatable data segment, and I've labeled the base address. Now in
order to access the data in indexed mode, I need to put the full base
address in FSRn, manipulate it and read/write to INDFn. My problem is
that there is no documentation on how to get the full 12 bit address
from the label, or how to put it on FSRnL and FSRnH (the low/high 8
bit address registers).

Can this be done?

Thanks!
  Renato Caldas

Previous by date: 29 Apr 2008 16:35:32 -0000 [Err] Re: [gnupic] Gpsim stability problems, spam_master.enage.com
Next by date: 29 Apr 2008 16:35:32 -0000 [Err] [gnupic] Using indirect addressing, spam_master.enage.com
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.