At 10:57 PM 5/8/02 -0500, Michael Johnston wrote: >Andrew >thanks for the code i tried this but ive ran into some problems for one >thing is the bnz mnemonic usable with the c54 parts BNZ is one of several pre-defined macros built into MPASM. You can read all about them in the MPASM data sheet - available from Microchip's web site (document # 33014g). The built in macros help make code a bit easier to understand when coming back to it after a long period of time. dwayne Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 18 years of Engineering Innovation (1984 - 2002) .-. .-. .-. .-. .-. .-. .-. .-. .-. .- `-' `-' `-' `-' `-' `-' `-' `-' `-' Do NOT send unsolicited commercial email to this email address. This message neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.