gnupic: gpasm - how to get address of variable ?
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