At 05:22 PM 6/7/97 +0000, you wrote: >I am trying to make my first PIC software work. > >Everything looks great if my program memory remains within bank 0 >region. If try to add something fancy and use some of the bank 1's >2K memory I am getting wrong bank referencing and my program is >crashing. I have tested different functions separetely first, they >work fine. But when I add them up, using 50% of ROM space this >is crashing my system. I complied everything with PCW C. > >Anyone out there have a similar experience your comments will be >greatly appreciated. Check your list file. I have found this to be _ESSENTIAL_ with the PCW compiler. Sometimes it flat out generates the wrong code. If you can't find it that way, send CCS your source code. They are usually pretty good about customer service. You'll need to let them know what version it is you are using. And possibly a better description of how it crashes. Andy ================================================================== Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865 Hardware & Software for Industry & R/C Hobbies "Go fast, turn right, and keep the wet side down!" ==================================================================