It looks like you have a 16F1826 selected instead of 16F1827.
It looks like you have a 16F1826 selected instead of 16F1827.
Those errors comes from using the wrong syntax for the CONFIG block. The example Ioannis posted compiles just fine.
Yes, the Config block generated errors.
Solved by writing :
Thank you all for your support.Code:ASM __config _CONFIG1, _FOSC_INTOSC & _WDTE_OFF & _PWRTE_ON & _MCLRE_OFF & _CP_ON & _CPD_ON & _BOREN_OFF & _CLKOUTEN_OFF & _IESO_ON & _FCMEN_ON __config _CONFIG2, _WRT_ALL & _PLLEN_ON & _STVREN_ON & _LVP_OFF & _BORV_19 & _LVP_OFF ENDASM
I am going to check if the assembly works correctly.
Bookmarks