At 10:13 PM 18/3/97 -0500, you wrote: >Say folks, > >In the past to test a register for the existence of zero I would perform >some sort of mask operation. This time I thought I would try my hand at >using the ZERO STATUS BIT. > >hasn't worked yet. > >Apparently I've got to first SET the zero bit PRIOR to performing a move >operation? What I noticed is that ANY operation, zero or not, with >instructions like MOVF, or DECF will CLEAR the zero bit! > >Any advice on how to check a register for zero? It seems like such a >silly question, but I haven't been successful at it yet. use: movf register,f to test register for Zero antti -- Silicon Studio Ltd. -- http://www.sistudio.com