Hello Heejeong Ryu, I'll start by assuming you are talking about an mcs51 target.
I'm not sure how XRAM is related to your problem, as xdata is usually a separate memory space from code. But maybe you have a Von-Neumann-ized design. If you want some code in a different segment from the rest, you can use --codeseg or #pragma codeseg to place it in anything other than CSEG. Then when linking you can place this segment at some fixed address. You can do something similar for constant data. For more details look in the manual or ask more detailed questions here. HTH, Maarten > Hello. > > How to separate program area to two; one in external RAM, the other in > ROM. > > We are using total 48Kbyte XRAM for program size. But we want to reduce > XRAM size to 32KByte and move some function block of code to hard code > area for cost. > > In this case, how can make makefile? Does SDCC support this? > > Do you have any similar case? > > Thanks, > > Heejeong Ryu > > Marvell Semiconductor | 5488 Marvell Lane, Santa Clara, CA 95054 > M A R V E L L | www.marvell.com<http://www.marvell.com/> | > h...@marvell.com<mailto:h...@marvell.com> ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user