Calling subroutines in a 16C57 Paged Memory?
David Cary email (remove spam text)
Bob Ammerman <PRODIGY.NET> on 2001-04-05 12:17:47 PM RAMMERMAN
clarified things by saying:
> the 16C57
> It is important to note that this chip has the 12-bit core, and the
> paging/banking rules are very different from the 14-bit midrange core.
> Calls and computed gotos (addwf PCL,f) can only go to addresses in the first
> 256 bytes of the currently selected page.
Thanks for reminding me to put all my computed gotos and subroutines first in
> Bob Ammerman
Whoops, I was thinking about the 14 bit core. Sorry about the confusion.
MPASM still does the Right Thing with the instructions BANKISEL, BANKSEL, and
PAGESEL. Right ?
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email mitvma.mit.edu with SET PICList DIGEST in the body listserv
See also: www.piclist.com/techref/microchip/memory.htm?key=memory
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the