On Mon, 24 Feb 2003, Ned Konz wrote: > I just compiled the CVS version of gpsim, and got lots of complaints > when I loaded a program I have for the 18F452 that uses more than 16K > bytes of code. > > Is it supposed to handle the whole 32K space? I use gpsim on the 18f all of the time, but my current program is only about 2k or 3k. Chances are there's a bone headed bug in the 18f452 declaration. Look in the include file src/p18x.h for the 18f452's member function: virtual unsigned int program_memory_size(void) const { return xxxx;} Change the 'xxxx' to 32768 and recompile the code. I don't have the latest code currently in front of me, but I think that's all you'll need to do. Scott -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body