"Dmitry A. Kiryashov" wrote: > What about second example ? (with bug fixed by Bob) > Seems it is correct for 0x00 as well. > > movlw 0xAA ;high? > subwf TimerH,W > movlw 0x55 ;low? > skpnz ;here it was > subwf TimerL,W > skpc > goto EndTime ;8 clocks to go > ;7 clocks to pass > > WBR Dmitry. Hi all, Thanks for the help. As was pointed out it is for the "ASMhelper" which I put up on the web site. I'll be adding to as I get time and if anyone has any ideas they want implemented, let me know. I don't want it to be a compiler as such, it's purpose is to just to lurk in the background and help with "finicky" things when writing ASM code. -- Best regards Tony mICros http://www.bubblesoftonline.com mailto:sales@picnpoke.com -- 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