HI, Thanks for the quick response I have ROM, I need RAM space, with the HI tech compiler I had to tell which varibles I wanted in what banks (0-3). I havn't seen how to do that with CCS. Jason -----Original Message----- From: Peter Schultz [mailto:schupet@dvp.com] Sent: Thursday, February 11, 1999 12:42 PM To: pic microcontroller discussion list; jvd@attcanada.net Subject: Re: Memory Allocation in CCS Hi, Observe the calling tree, create more moduls and make the main function smaller. Read the refmanual page 83, " why do I get an OUT OF ROM error when there seems to be ROM left" Peter Schultz DVP Inc. 3430 Ocean View Blvd. Unit A Glendale, CA (818) 541-9020 Fax: (818) 541-9423