piclist 2000\11\14\201422a >
Thread: FSR
face BY : Dan Michaels email (remove spam text)

At 02:10 PM 11/14/2000 -0800, you wrote:
>Whenever someone mentions the FSR (file select register) they
>always seem to quickly [religious reference deleted] and then
>add, "But I would never do it this way".   The FSR seems like
>the obvious way to collect a short frame of data and write
>it to a group of registers in memory.  Is there a dark side
>of this mechanism I need to know about?

No - so long as you understand the concept of indirect
addressing. Only thing wrong with the FSR is there aren't
two of them -[rectified on some newer PICs].

Just pay attention to the paging bits as others have mentioned,
and use the following to load a variable address into FSR:

movlw   variable_name
movwf   FSR

Using < movlw > is the key.

http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) FSR

month overview.

new search...