Hi All, I'm using a PIC16F684 in assembly language. What is the most efficient way to determine if a register has a specific value? Would I have to test each bit individually?
Or is there some unique way of subtraction with evaluating the carry flag?
For example, How would I determine if a register reads exactly 0x06?
Thanks all!
Or is there some unique way of subtraction with evaluating the carry flag?
For example, How would I determine if a register reads exactly 0x06?
Thanks all!