A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
Indirect addressing - Mark Adams - Dec 25 14:13:00 2005
Happy Holliday!
How is indirect addressing accomplished?
I want to move data to the address located in a variable
Thanks
Mark

(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )
Re: Indirect addressing - rtstofer - Dec 25 14:28:00 2005
Put the address in FSR, make sure IRP is set properly and then every
reference to INDF will read of write memory at the address in FSR.
For the 16F877, see section 2.5. Section numbers might vary among
devices.
--- In piclist@picl..., "Mark Adams" <markadams1971@y...>
wrote:
>
> Happy Holliday!
>
> How is indirect addressing accomplished?
>
> I want to move data to the address located in a variable
>
> Thanks
> Mark

(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )