[an error occurred while processing this directive]
|
; This file was generated by C2C-plus compiler version 4.00.1e
include "C:\inc\P12f675.inc"
;Variables *****************************************
_i equ 0x70
ORG 0
goto start__code
ORG 4
_interrupt
bcf INTCON, T0IF ;clear interrupt flag
retfie
start__code
_main__code
BCF STATUS,RP0
movlw 0x07 ;Set GP<2:0> to digital output
movwf CMCON
//результат СМСОN 00000111
bsf STATUS,RP0 ;Bank 1
MOVLW b'0000000'
TRIS GPIO
// результат TRISIO все нули
BCF STATUS,RP0
MOVLW 0xFF
MOVWF GPIO
BSF GPIO,0
результат GPIO - все нули и в MPLAB 5.7 и в реале
E-mail: info@telesys.ru