hi Ray, "=" is for set a variable, "==" is for conditionals. Example: variable size = $ - label; if size == 18 ... endif Regards, Tamas On 7/1/07, Ray Newman wrote: > > I forgot the difference in meaning of "=" and "==" in assembly directives > for MPLAB > > or "=" is not used in IF THEN ELSE ENDIF ??? > > I used "==" for conditional assembly base on current program memory > address > > But I can't recall ever using just "=" > > I have two pieces of hardware that are 90% identical in I/O for the same > MCU > So instead of writing two different programs, which I did, I need to > combine > and do the if/the/else for the slight differences but everything else > works the same > and if I do some software updates, it will be the exact same for both. > That way I do not have to edit both programs. > > Thanks, > Ray > > > > > -- > 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