Not 100% sure, but... Jeffrey Vitale wrote : > source=here is a better version of the code. Perfect ! > ;***** VARIABLE DEFINITIONS > CBLOCK H'0C' > Throttle ; var for storing a2d result > status_temp ; variable used for context saving > ENDC Now, shouldn't the CBLOCK parameter point to the first memory location of the "block" ? Perhaps H'0C' should have been H'C0' ?? H'0C' isn't part of the GPR area. Jan-Erik. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.