aless2056
Member level 1
Doubt in comparison routine
Guys, I'm being beaten up to do the following asm routine for pic 16F877.
I have A and B, both range from 0 to 100 and I would like to do the following routine
If A = B, ok don't do anything in C
If A+5 > B, increase C
If A-5 < B, decrease C
Guys, I'm being beaten up to do the following asm routine for pic 16F877.
I have A and B, both range from 0 to 100 and I would like to do the following routine
If A = B, ok don't do anything in C
If A+5 > B, increase C
If A-5 < B, decrease C