--===============0988898428== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by pch.mit.edu id l610SLAA021858 Tamas, Thanks! Mind went blank for a little bit. Ray On Sun, 1 Jul 2007 00:53:36 +0100, Tamas Rudnai wrote: >=A0hi Ray, > >=A0"=3D" is for set a variable, "=3D=3D" is for conditionals. > >=A0Example: > >=A0variable size =3D $ - label; > >=A0if size =3D=3D 18 >=A0.. >=A0endif > > >=A0Regards, >=A0Tamas > > >=A0On 7/1/07, Ray Newman =A0wrote: > >>=A0I forgot the difference in meaning of "=3D" and "=3D=3D" in assembly >>=A0directives for MPLAB >> >>=A0or "=3D" is not used in IF THEN ELSE ENDIF ??? >> >>=A0I used "=3D=3D" for conditional assembly base on current program >>=A0memory address >> >>=A0But I can't recall ever using just "=3D" >> >>=A0I have two pieces of hardware that are 90% identical in I/O for >>=A0the same MCU >>=A0So instead of writing two different programs, which I did, I need >>=A0to combine >>=A0and do the if/the/else for the slight differences but everything >>=A0else works the same >>=A0and if I do some software updates, it will be the exact same for >>=A0both. That way I do not have to edit both programs. >> >>=A0Thanks, >>=A0Ray >> >> >>=A0-- >>=A0http://www.piclist.com PIC/SX FAQ &=A0list archive >>=A0View/change your membership options at >>=A0http://mailman.mit.edu/mailman/listinfo/piclist --===============0988898428== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 7bit -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --===============0988898428==--