gnupic: Re: [gnupic] Using indirect addressing


Previous by date: 3 May 2008 09:17:00 -0000 Re: [gnupic] Gpsim compile question, Scott Dattalo
Next by date: 3 May 2008 09:17:00 -0000 Re: [gnupic] Gpsim compile question, Alain PORTAL
Previous in thread:
Next in thread:

Subject: Re: [gnupic] Using indirect addressing
From: Robert Pearce ####@####.####
Date: 3 May 2008 09:17:00 -0000
Message-Id: <EGhP$hkQuCHIFwDj@daniel.huneausware.local>

On Tue, 29 Apr 2008, seventh guardian ####@####.#### wrote 
:
>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).

I've not used the 16-bit cores, but...

Surely the label should already have a full 12-bit address. You can then 
access the two halves using the high() and low() operators as you would 
when setting up for a computed jump or similar.
-- 
Rob Pearce                       http://www.bdt-home.demon.co.uk

The contents of this | Windows NT crashed.
message are purely   | I am the Blue Screen of Death.
my opinion. Don't    | No one hears your screams.
believe a word.      |

Previous by date: 3 May 2008 09:17:00 -0000 Re: [gnupic] Gpsim compile question, Scott Dattalo
Next by date: 3 May 2008 09:17:00 -0000 Re: [gnupic] Gpsim compile question, Alain PORTAL
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.