Hola a todos, en otro tiempo e andado de incógnito leyendo por aquí la maravilla del foro, con pena solicito un jalón de orejas, que estoy haciendo mal? programe un pic16f627A y nada me ignora totalmente, el código, la configuración no se, se compila bien ya revise y todo parece en regla, como prueba solo deje una parte del código y no, no pasa nada!
Saludos y que el jalón no duela mucho!

;**********************************************************************
; This file is a basic code template for object module code *
; generation on the PIC16F627A. This file contains the *
; basic code building blocks to build upon. *
; *
; Refer to the MPASM User's Guide for additional information on *
; features of the assembler and linker (Document DS33014). *
; *
; Refer to the respective PIC data sheet for additional *
; information on the instruction set. *
; *
;**********************************************************************
; *
; Filename: xxx.asm *
; Date: *
; File Version: *
; *
; Author: *
; Company: *
; *
; *
;**********************************************************************
; *
; Files required: P16F627A.INC *
; *
;**********************************************************************
; *
; Notes: *
; *
; *
;**********************************************************************
list p=16F627A ; list directive to define processor
#include <p16F627A.inc> ; processor specific variable definitions
; errorlevel -302 ; suppress message 302 from list file
__CONFIG _CP_OFF & DATA_CP_OFF & _LVP_OFF & _BOREN_OFF & _MCLRE_OFF & _WDT_OFF & _PWRTE_ON & _INTOSC_OSC_NOCLKOUT
; '__CONFIG' directive is used to embed configuration word within .asm file.
; The lables following the directive are located in the respective .inc file.
; See data sheet for additional information on configuration word settings.
;***** VARIABLE DEFINITIONS (examples)
#define key 0x06,2
#define sensor 0x06,3
#define ptt 0x06,4
#define play 0x06,5
#define fmsg 0x06,6
#define ce 0x06,7
#define a6 0x05,7 ; para direccionar mensajes en ci audio
#define a4 0x05,1 ; para direccionar mensajes en ci audio
#define led 0x05,6
; example of using Shared Uninitialized Data Section
;INT_VAR UDATA_SHR
;w_temp RES 1 ; variable used for context saving
;status_temp RES 1 ; variable used for context saving
;**********************************************************************
;RESET_VECTOR CODE 0x0000 ; processor reset vector
org 0x00
goto inicio ; go to beginning of program
INT_VECTOR CODE 0x0004 ; interrupt vector location
;INTERRUPT
; movwf w_temp ; save off current W register contents
; movf STATUS,w ; move status register into W register
; movwf status_temp ; save off contents of STATUS register
; isr code can go here or be located as a call subroutine elsewhere
; movf status_temp,w ; retrieve copy of STATUS register
; movwf STATUS ; restore pre-isr STATUS register contents
; swapf w_temp,f
; swapf w_temp,w ; restore pre-isr W register contents
; retfie ; return from interrupt
;***********************************************************
;retardo 10 segundos
diez movlw d'100'
nop
nop
movwf 20h
externo
movlw d'100'
movwf 21h
externo2
movlw d'249'
movwf 22h
interno
nop
decfsz 22h,1
nop
goto interno
decfsz 21h,1
goto externo2
decfsz 20h,1
goto externo
RETURN
;*****************************************************************
paromotor
bcf a4
bcf a6 ;direccion cero menaje de paromotor
bsf ptt ;activa radio
bcf ce
movlw 0x07
movwf 0x20
ppp decfsz 0x20,1
goto ppp
bsf ce ;comienza mensaje
mmm btfsc fmsg ;fin de mensaje?
goto mmm
bcf ptt ;apaga radio y espera 10 segundos
RETURN
;***********************************************************************
;mensaje de restablecimiento de servicio
siesarm
bsf a4
bsf a6
bsf ptt
bcf ce
movlw 0x07
movwf 0x20
abc decfsz 0x20,1
goto abc
bsf ce ;comienza mensaje
bcd btfsc fmsg ;fin de mensaje?
goto bcd
bcf ptt ;apaga radio y espera 10 segundos
nop
RETURN
; rutina para transmitir que alarma esta activada
;******************************************************************
;MAIN_PROG CODE
inicio
clrf PORTA
movlw 0x07
movwf CMCON
bcf STATUS,RP1
bsf STATUS,RP0 ;banco 1
movlw 0x6f
movwf TRISB ;pto B
movlw 0x3d
movwf TRISA ;pto A
bcf STATUS,RP0 ;regreso a banco 0
bsf ce ;ci audio deshabilitado
movlw 0x0
movwf 0x05 ;ci audio inicio de mensages direccion 0
call diez
dis bcf led ;led de alarma apagado
llave btfsc key
goto llave
bsf led ;led de armado
chk btfss key
goto chk
goto dis
END ; directive 'end of program'