mdb86
- 25th April 2006, 02:08
Im trying to write a program using the PIC16F84
I cant seem to figure out how to get an IF ELSE statement to work. I know how to program in c++ but i'm trying to learn how to program in assembly. Basically I just wondering how i would write a IF ELSE statement that would perform an ADDWF operation if the value in a specific F register location is > 10. Hopefully im making this clear. I would really appreciate any help.
thanks
I cant seem to figure out how to get an IF ELSE statement to work. I know how to program in c++ but i'm trying to learn how to program in assembly. Basically I just wondering how i would write a IF ELSE statement that would perform an ADDWF operation if the value in a specific F register location is > 10. Hopefully im making this clear. I would really appreciate any help.
thanks