gnupic: gpasm - how to get address of variable ?


Previous by date: 7 Sep 2012 20:07:29 -0000 Re: gpasm - how to get address of variable ?, Joe Pfeiffer
Next by date: 7 Sep 2012 20:07:29 -0000 Re: gpasm - how to get address of variable ?, Joe Pfeiffer
Previous in thread: 7 Sep 2012 20:07:29 -0000 Re: gpasm - how to get address of variable ?, Joe Pfeiffer
Next in thread: 7 Sep 2012 20:07:29 -0000 Re: gpasm - how to get address of variable ?, Joe Pfeiffer

Subject: Re: gpasm - how to get address of variable ?
From: Gál ####@####.####
Date: 7 Sep 2012 20:07:29 -0000
Message-Id: <CAFKtu37cRr3GoOVOmJYnkfdiSJ5rxzCAdV+wBXHfG7jH=4R+wA@mail.gmail.com>

I would like  to say about bankisel in addition. You should use it, if
the variable ( register ) takes places, then the previous used
variables or array.

So the almost perfect solution:

  bankisel   var_array
  movlw      var_array
  movwf      FSR

and you can move data trough INDF register.

Previous by date: 7 Sep 2012 20:07:29 -0000 Re: gpasm - how to get address of variable ?, Joe Pfeiffer
Next by date: 7 Sep 2012 20:07:29 -0000 Re: gpasm - how to get address of variable ?, Joe Pfeiffer
Previous in thread: 7 Sep 2012 20:07:29 -0000 Re: gpasm - how to get address of variable ?, Joe Pfeiffer
Next in thread: 7 Sep 2012 20:07:29 -0000 Re: gpasm - how to get address of variable ?, Joe Pfeiffer


Powered by ezmlm-browse 0.20.