In PIC16F630 does not have a common RAM area but datasheet suggests to do the following.
But when I define in same offset it gives an error saying
" : Duplicate label ("W_Temp" or redefining symbol that cannot be redefined)"
Code:
The user register, W_TEMP, must be defined
in both banks and must be defined at the same offset
from the bank base address
But when I define in same offset it gives an error saying
" : Duplicate label ("W_Temp" or redefining symbol that cannot be redefined)"
Code:
cblock 48h
Random
X1,X2,X3,X4
Row_Counter,Del_Count
Offset_L,Offset_H
P1,P2,P3
R1,R2,R3
Rotate_Count,Mask_L,Mask_R
W_Temp,S_Temp,S_FSR,S_PCLATH ; 5A,5B,5C,5D ; ISR context registers
endc
cblock 0DAh
W_Temp
endc