Hopkins wrote: > Test equ 5 > > MPSIM shows the constant Test at address 5. It only knows that TEST = 5. It is apparently assuming that this is an address, so it shows you the contents of 5 also. > How do you get MPLAB to assign a constant a value that can be used in > calculations? You did. You can say MOVLW TEST, for example. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist