On Wed, 5 Dec 2001 22:07:48 +0100, you wrote: >To Andy.. >yes, Andy, that would work, if there were no register blocks in between! > >An example: >RAM Startadress:0x20 then 96 bytes of free memory, then follows a >register block from 0x80 to 0x9F with processor registers, after that >another chunk of free mem until 0xEF ..etc. >So the memory is interrupted by these processor-own register blocks... >I guess that is the problem! Or am I wrong? No - you're not wrong.=20 The trick is to skip the pointer over these blocks - with some thought you can sometimes do this very efficiently with a few bit-ops on address in the FSR -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.