Херасе цирк :(( Вот оно же из 1.25: ;----- FSEC (0xabf00) --------------------------------------------------
;
; The following settings are available for FSEC:
;
; Boot Segment Write Protect:
; BWRP_ON Boot segment is write-protected
; BWRP_OFF Boot segment may be written
;
; Boot segment Protect:
; BSS_HI High Security
; BSS_STD Standard Security
; BSS_OFF No Protection (other than BWRP)
;
; Boot Segment Control bit:
; BSEN_ON Boot Segment size determined by FBSLIM
; BSEN_OFF No Boot Segment
;
; General Segment Write Protect:
; GWRP_ON General segment is write-protected
; GWRP_OFF Writes to program memory are allowed
;
; General Segment Code Protect:
; GSS_HI High Security
; GSS_STD Standard Security
; GSS_OFF Code protection is disabled
;
; Configuration Segment Program Write Protection bit:
; CWRP_ON Configuration Segment is write protected
; CWRP_OFF Configuration Segment may be written
;
; Configuration Segment Code Protection Level bits:
; CSS_HI High Security
; CSS_ENH Enhanced Security
; CSS_STD Standard Security
; CSS_DIS No Protection (other than CWRP)
;
; Alternate Interrupt Vector Table Disable bit:
; AIVTDIS_ENABLE Enable AIVT
; AIVTDIS_DISABLE Disable AIVT
;
.equiv BWRP_ON, 0xFFFE ; Boot segment is write-protected
.equiv BWRP_OFF, 0xFFFF ; Boot segment may be written
.equiv BSS_HI, 0xFFF9 ; High Security
.equiv BSS_STD, 0xFFFD ; Standard Security
.equiv BSS_OFF, 0xFFFF ; No Protection (other than BWRP)
.equiv BSEN_ON, 0xFFF7 ; Boot Segment size determined by FBSLIM
.equiv BSEN_OFF, 0xFFFF ; No Boot Segment
.equiv GWRP_ON, 0xFFDF ; General segment is write-protected
.equiv GWRP_OFF, 0xFFFF ; Writes to program memory are allowed
.equiv GSS_HI, 0xFF3F ; High Security
.equiv GSS_STD, 0xFFBF ; Standard Security
.equiv GSS_OFF, 0xFFFF ; Code protection is disabled
.equiv CWRP_ON, 0xFEFF ; Configuration Segment is write protected
.equiv CWRP_OFF, 0xFFFF ; Configuration Segment may be written
.equiv CSS_HI, 0xF1FF ; High Security
.equiv CSS_ENH, 0xF9FF ; Enhanced Security
.equiv CSS_STD, 0xFDFF ; Standard Security
.equiv CSS_DIS, 0xFFFF ; No Protection (other than CWRP)
.equiv AIVTDIS_ENABLE, 0x7FFF ; Enable AIVT
.equiv AIVTDIS_DISABLE, 0xFFFF ; Disable AIVT