piclist 2000\11\06\132937a >
Thread: Memory layout?
picon face BY : jamesnewtonspam_OUT@.....geocities.com

Does anyone have some good ideas, doc's or samples that show more automatic
ways of getting the most out of the memory layout of the SX chips? Or the
PIC 16C5x chips?

I'm looking at using macros to re-org and compile jump tables and other
things that use a relative or computed jumps or calls (including all
subroutine entries) in a reserved chunk of "first half of page" memory.
Seems like a hell of a waste.

Ideally I'd like to find and document on the site the "best" layout of
memory in general (to support interrupts, debugging, subroutine placement
and calls, etc...) without having to shuffle things 500,000 times after each
code addition that over-runs the available "first half of page" space or
violates some other memory layout rule or ....

BTW, if you haven't seen the exhaustive "how to do a comparison" table at
and the SXKey Structured Programming macros built from it at
you might want to check it out. This version is much more stable than the
last. My testing hasn't found any bugs in a while so they may just work for

James Newton 1-619-652-0593
SX FAQ: http://www.sxlist.com or .org

http://www.piclist.com#nomail Going offline? Don't AutoReply us!
use TakeThisOuTlistservspamspammitvma.mit.edu?body=SET%20PICList%20DIGEST

<000901c0481e$0d896220$0600a8c0@efplus.com> 7bit

See also: www.piclist.com/techref/ubicom/lib/mem/index.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 layout?

month overview.

new search...