How is it done?
I only now that i have to shut off the comparators which are in default enabled on 16F628A, the code for this job is:
MOVLW 7
MOVWF CMCON
then i have to adjust some GPR registers which on 16F628A start at 20h and on 16F84 at 0Ch.
is this can be done by adding the following line in a 16F84 code?
CBLOCK 0x20 ; Declare variable addresses starting at 0x20
if not pls give me advices because i have lot's of code to migrate to the microntroller i'm using.
thanks!
I only now that i have to shut off the comparators which are in default enabled on 16F628A, the code for this job is:
MOVLW 7
MOVWF CMCON
then i have to adjust some GPR registers which on 16F628A start at 20h and on 16F84 at 0Ch.
is this can be done by adding the following line in a 16F84 code?
CBLOCK 0x20 ; Declare variable addresses starting at 0x20
if not pls give me advices because i have lot's of code to migrate to the microntroller i'm using.
thanks!