In-Reply-To: Sam WILLIAMS wrote: > I have been playing around with the CCS compiler recently and I was wonderi > ng exactly how you determine the ram size needed for the resulting hex fil > e? I have looked in the .lst file and don't feel comfortable with the infor > mation I found in their. Any hints and suggestions would be extremely helpf > ul. I'm not sure I understand the question. The HEX file goes in ROM on the chip. At the top of the LST file you get info like this: > CCS PCM C Compiler, Version 2.705, 3951 > > Filename: D:\STC\EASYDYE\EASYDYE.LST > > ROM used: 1590 (78%) > Largest free fragment is 458 > RAM used: 65 (51%) at main() level > 89 (70%) worst case > Stack: 4 worst case (2 in main + 2 for interrupts) > That's always been sufficient for me. Brian Gregory. briang@cix.co.uk