piclist 2001\04\18\123014a >
Thread: Memory Block Copy for PIC16F877
www.piclist.com/techref/microchip/memory.htm?key=memory
picon face BY : Thomas N email (remove spam text)



Hi everyone,

For the 16F877 IC, the RAM space of bank0 from 0x70 to 0x7F can be accessed
from any bank.  I love this feature!

Is there any way to expand it? If yes, would you please tell me how I can do
it?

If no, is there any way to copy the whole memory block or I have to do the
following:

   movf   x, w   ; assume I am in bank 0

   bank1         ; switch to bank 1
   movwf  y      ; store it

   bank2         ; switch to bank 2
   movwf  z      ; store it

   bank4         ; switch to bank 3
   movwf  zzz    ; store it

If I want to expand the mirror memory to another 16 locations, it seems like
I have to write lots of code!  Any there any faster and more efficent way?

Thank a lot for all you help!
thomas


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

--
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


<F125MDrxxnSYe4nhrKt0000cfce@hotmail.com>

See also: www.piclist.com/techref/microchip/memory.htm?key=memory

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) Memory Block Copy for PIC16F877

month overview.

new search...