Kev77
Member
I need some help on comparing bits in a shift register. I have a "SHRB" bit shift register that has 16 bits. I need to know if any of the first 8 bits are set. What instruction would I use? I Is there an instruction for bit compare?
1 0 0 1 1 1 1 1 1 1 1 0 1 1 0 1
|__________|
Rung output on
Thanks,
Kevin
1 0 0 1 1 1 1 1 1 1 1 0 1 1 0 1
|__________|
Rung output on
Thanks,
Kevin