On Wed, 13 May 1998 22:26:54 +1200 "G.Daniel Invent Design" writes: >Personally I have a problem with "btfss STATUS,Z" (for example) : when >an operation is made affecting the status flags, and the result is >zero, >I would expect to test for a clear (0) Z bit. It's not this way ! , >Zero >result means Z bit in STATUS is SET. Therefore, I prefer to use a >special instruction. Most processors work this way, but it is confusing. I like the simple "special instructions" (actually they are predefined macros) like skpz, skpnz, setc, etc. because it is easy to remember exactly what they do without thinking about whhich bit is which in the status register. They expand to single PIC instructions so skipping them is no problem. The "instructions" like bz, negf, etc. are too "far away" from how the PIC works so I don't use them. It would be nice if MPASM read these predefined macros from a file so users could change or delete them. But then there would be a lot of nonstandard code out there. For sharing code with others, it's best to use only the 35 stock instructions and maybe some of the simple psuedo-instructions. Then no matter what assembler they have they'll be able to understand and use it readily. _____________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com Or call Juno at (800) 654-JUNO [654-5866]