Ted Mawson wrote: > Many thanks to all who offered advice on this one, you are all right > but I found Drew's answer to be the clearest. Now I know where the F=1 > and W=0 are defined :) No, you only THINK you do. Drew's post to the contrary, W=0 and F=1 are defined internally within MPASM; "DECFSZ COUNT,W" and "DECFSZ COUNT,F" will work even if you don't include any .INC files. -Andy === Andrew Warren -- aiw@cypress.com === Principal Design Engineer === Cypress Semiconductor Corporation === === Opinions expressed above do not === necessarily represent those of === Cypress Semiconductor Corporation -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics