Re: What’s wrong ? there can’t affecting any registers on PIC16F1455

Home Evil Mad Scientist Forums Microcontrollers What's wrong ? there can't affecting any registers on PIC16F1455 Re: What’s wrong ? there can’t affecting any registers on PIC16F1455

#22644
Barto
Participant

CODE:
#include “p16F1455.inc”
; CONFIG1
; __config 0xFFFF
__CONFIG _CONFIG1, _FOSC_ECH & _WDTE_ON & _PWRTE_OFF & _MCLRE_ON & _CP_OFF & _BOREN_ON & _CLKOUTEN_OFF & _IESO_ON & _FCMEN_ON
; CONFIG2
; __config 0xFFFF
__CONFIG _CONFIG2, _WRT_OFF & _CPUDIV_CLKDIV6 & _USBLSCLK_48MHz & _PLLMULT_3x & _PLLEN_ENABLED & _STVREN_ON & _BORV_LO & _LPBOR_OFF & _LVP_ON
org H’0000′ ;makes sure that the flash memory starts at 00
;program starts here
banksel H’0001′
clrf H’008E’
banksel H’0002′
loopy1 movlw H’FFFF’
movwf H’010E’
clrf H’010E’
goto loopy1
end