Ioannis,
Depending on the PIC used, you might want to be careful in what syntax you are going tu use.
This first code costs you i.e. 11 WORDs (PIC16F628) and 13 WORDs (PIC16F690)This second code will cost you 60 WORDs (PIC16F628) and 64 WORDs (PIC16F690)Code:w1 var byte A var byte B var byte IF w1>A THEN IF w1<B THEN ... ENDIF ENDIFCode:w1 var byte A var byte B var byte IF w1>A AND w1<B THEN ... ENDIF
Bookmarks