gnupic: gpasm - how to get address of variable ?


Previous by date: 7 Sep 2012 07:52:40 -0000 Gputils project upgrade to Allura intrface, Borut Ražem
Next by date: 7 Sep 2012 07:52:40 -0000 Re: gpasm - how to get address of variable ?, Borut Ražem
Previous in thread:
Next in thread: 7 Sep 2012 07:52:40 -0000 Re: gpasm - how to get address of variable ?, Borut Ražem

Subject: gpasm - how to get address of variable ?
From: "Vaclav Peroutka" ####@####.####
Date: 7 Sep 2012 07:52:40 -0000
Message-Id: <2E.J}Dp.4cJ3Vft1G{C.1GIQV5@seznam.cz>

Hello,

I want to use FSR/INDF in assembler. I have defined

    CBLOCK    0x20
        var1:    1
        var_array:    1
    ENDC

In the code, I want to use
   movlw address_of_var_array
   movwf FSR

and then to write to var_array through INDF.

How can I do that ? I did not find any expression in gputils manual.

Thank you in advance,
Vaclav

Previous by date: 7 Sep 2012 07:52:40 -0000 Gputils project upgrade to Allura intrface, Borut Ražem
Next by date: 7 Sep 2012 07:52:40 -0000 Re: gpasm - how to get address of variable ?, Borut Ražem
Previous in thread:
Next in thread: 7 Sep 2012 07:52:40 -0000 Re: gpasm - how to get address of variable ?, Borut Ražem


Powered by ezmlm-browse 0.20.