This is a multi-part message in MIME format. --bound1058887454 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Question: I haven't written anything yet that's large enough to span banks (at least knowingly), how do you know if a subroutine spans a bank? Will mplab genrate a warning when this happens? And what happens if you org something at the top of one bank, and causes something else to span banks? Regards, Bob Brian Clewer wrote .. > Don't forget that subroutines can't span from one bank to another. If > you > have large routines, org them at the top of a bank, or split them up. > In C > (CCS) I would use the #separate command. > > Brian. > > >Well, I have rewritten my code about 10 times now to optimize it more > so > the > >code will all fit in the 16k of ROM that comes with the PIC18F452, and > now > I > >have run out of ROM AGAIN!! > > > >I am using the 40-pin PDIP package. Did some looking at other PIC's, > but > >all the ones I have encountered that have more than 16k ROM are not in > >production yet, or they don't come in a PDIP package. > > > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics --bound1058887454--