How do you figure that one? It is many times more efficient to load the value into the accumulator, shift and test the carry flag, such as when reading keys using the ports. > BTW, The best way to test a bit is to use the bit command. > > syntax: > bit x,Reg (x=bit,Reg=register) [I think!]