gnupic: Rep:Allocating addresses for variables


Previous by date: 20 Nov 2001 17:41:49 -0000 Re: gpsim en ReedHat 7.1, Nestor A. Marchesini
Next by date: 20 Nov 2001 17:41:49 -0000 Re: Rep:Allocating addresses for variables, Byron A Jeff
Previous in thread:
Next in thread: 20 Nov 2001 17:41:49 -0000 Re: Rep:Allocating addresses for variables, Byron A Jeff

Subject: Rep:Allocating addresses for variables
From: ####@####.####
Date: 20 Nov 2001 17:41:49 -0000
Message-Id: <200111201741.278f@lh00.opsion.fr>

Hi,
I reserve variables using cblock. For example:

 cblock
VARIABLE1: 1
VARIABLE2: 1
VARIABLE3: 1
VARIABLE4: 1
 endc

Regards,

Carlos


-----Mensaje de origen-----
De: Simon Wood ####@####.####
Para: "Gnupic (E-mail)" ####@####.####
Fecha: 20/11/01
Asunto: Allocating addresses for variables

Hi all,
I'm just getting started with my first PIC project. I
have some code 
that compiles with GPASM and runs OK, but I have
'hacked' the addresses
of the variables with:

Var1 set 0x20

As said this works but is a little messy. It also
does not set an initial
value (I have to do that later in the code...).

Is there a nicer/cleaner/better way to specify a
variable name so that 
it can be initialised automatically?

Thanks in advance,
Simon Wood

PS. If anybody is interested I'm using a PIC to
emulate a Sony auto-CD 
changer, so that the radio enables the RCA inputs and
I can use my MP3
player in the car. See
http://gnunilink.sourceforge.net


-----------------------------------------------------
----------------
To unsubscribe, e-mail:
####@####.####
For additional commands, e-mail:
####@####.####

 
______________________________________________________________________________
mensaje enviado desde http://www.iespana.es
emails (pop)-paginas web (espacio ilimitado)-agenda-favoritos (bookmarks)-foros -Chat



Previous by date: 20 Nov 2001 17:41:49 -0000 Re: gpsim en ReedHat 7.1, Nestor A. Marchesini
Next by date: 20 Nov 2001 17:41:49 -0000 Re: Rep:Allocating addresses for variables, Byron A Jeff
Previous in thread:
Next in thread: 20 Nov 2001 17:41:49 -0000 Re: Rep:Allocating addresses for variables, Byron A Jeff


Powered by ezmlm-browse 0.20.