On Fri, 15 Feb 2002 12:44:18 -0600, Giles wrote: >Some of my simple MACROs > >; Macros for simplifying using the Status bits >IF_ZERO macro > btfsc STATUS,Z > endm >IF_NOT_ZERO macro > btfss STATUS,Z > endm >IF_NEGATIVE macro > btfss STATUS,C > endm >IF_NOT_NEGATIVE macro > btfsc STATUS,C > endm >IF_CARRY macro > btfsc STATUS,C > endm >IF_NOT_CARRY macro > btfss STATUS,C > endm As an alternative, if you're using MPLAB, there are built-in 'pseudo-ops' SKPZ, SKPNZ, SKPC, and SKPNC as well as some others. Ref: MPASM User's Guide, DS33014G, Table B.11 Regards, Bob -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu