piclist 2001\12\05\163316a >
Thread: continous memory block of 240 bytes on 16F876
face BY : mikeRemoveME@RemoveMEwhitewing.co.uk

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

<8f4t0u8ea89l62a0t5hrjc4jda3mpd4v31@4ax.com> quoted-printable

In reply to: <3C0E8CA4.54742390@cdh.it>
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) continous memory block of 240 bytes on 16F876

month overview.

new search...