> I was trying to declare a constant with > > temp equ 0x5 That's right. > but instead of temp = 5 it is assigned the address of 5. No, TEMP = 5. Of course you can use TEMP in place of an address constant, like: movf temp, w ;fetch what's in location 5 ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.