Hey all! This is just a little somthing that I wanted to verify... I am using 'subwf' on a 16C54 to compare two bytes, and I saw in the programmers manual how the Carry flag is set... the Zero flag is still set according to the result, correct? Really, I'm doing a greater than/less than/equal to thing, so, first I should check the Z flag to see if the result was zero, if it was, I'll branch, if not, then test the C flag and go from there, right? So, when using 'subwf': If (f) - (W) is positive, (f) > (W) / Z = 0, C = 1. If (f) - (W) is zero, (f) = (W) / Z = 1, C = 1. If (f) - (W) is negative, (f) < (W) / Z = 0, C = 0. Is everything I said about the flags correct? Thanks again, -- ~Keith tsk3000@Prodigy.Net http://pages.prodigy.net/tsk3000/