>> I just had to laugh at this one. You are using explicit >> HEX constant, but you are counting in decimal. > >And that would be the initialization bug. Thanks to you and >the other person who pointed this out. It is also the sort of bug that gets ruled out by using the RES directive, because you would define it as CTR RES 4 ; 4 byte counter - 1 byte per digit and then in your code refer to them as CTR, CTR+1, CTR+2, CTR+3 which also helps to show the relationship of the bytes, rather than as 4 separate variables, which could be independent counters for other uses. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist