piclist 2001\04\05\152111a >
Thread: Calling subroutines in a 16C57 Paged Memory?
face BY : David Cary email (remove spam text)

Bob Ammerman <spamRAMMERMAN.....spamEraseMEPRODIGY.NET> on 2001-04-05 12:17:47 PM
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
the page...

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

David Cary

http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email @spam@listservspam_OUTspammitvma.mit.edu with SET PICList DIGEST in the body


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) Calling subroutines in a 16C57 Paged Memory?

month overview.

new search...