Well this is good to know. Jinx: of course I always know what I'm doing ... at least until something smokes. Cheers, -Neil. Quoting Michael Rigby-Jones : > > >> -----Original Message----- >> From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On > Behalf >> Of Jinx >> Sent: 29 October 2009 08:54 >> To: Microcontroller discussion list - Public. >> Subject: Re: [PIC] SFR's as RAM ? >> >> Hey Neil >> >> > Other than being bad form, are there any problems with using SFR's >> > such as ADRESH and ADRESL for some temporary RAM space >> > (assuming the ADC is off)? >> >> ISTR Microchip suggest using unaccessed SFRs as general purpose >> RAM in the datasheet. 'bad form' can manifest itself in many ways if >> you don't know what you're doing or don't pay attention ;-) > > The HiTech compiler uses some SFRs for temporary storage if they aren't > being used. > > Regards > > Mike > > ======================================================================= > This e-mail is intended for the person it is addressed to only. The > information contained in it may be confidential and/or protected by > law. If you are not the intended recipient of this message, you must > not make any use of this information, or copy or show it to any > person. Please contact us immediately to tell us that you have > received this e-mail, and return the original to us. Any use, > forwarding, printing or copying of this message is strictly prohibited. > No part of this message can be considered a request for goods or > services. > ======================================================================= > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist