Olin Lathrop wrote: > alan smith wrote: >> The >> original author used the cblock directive, but hardcoded some >> variables at the bottom end of the RAM, and as I added some >> additional variables it wrote over the top a couple of these. > > So anyone out there still wonder why you should always use RES to reserve > RAM? If I would this would not convince me: always CBLOCK would have prevented that error too. Hardcoding is the evil here, not CBLOCK. -- Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist