Noman Yousaf
Full Member level 4
- Joined
- Nov 19, 2003
- Messages
- 208
- Helped
- 3
- Reputation
- 6
- Reaction score
- 2
- Trophy points
- 1,298
- Location
- Lahore Pakistan
- Activity points
- 1,763
In 8051 family, there is an aintruction CJNE. With this instruction we can check the two values, smaller, equal, or greater.
In PIC how we can do the same function?
Can we check if W reg. is zero or not (Like JZ or JNZ in 8051).
If yes then i think we can check the 2 values of W and L or F by using XOR instruction.
But how can we check the greater or smaller values?
Thanks in advance
In PIC how we can do the same function?
Can we check if W reg. is zero or not (Like JZ or JNZ in 8051).
If yes then i think we can check the 2 values of W and L or F by using XOR instruction.
But how can we check the greater or smaller values?
Thanks in advance