hi
i am using PIC16F84 in my project & the project is heartbeat monitor by keith wilson. I have taken the source code from some site . Actually when we buld the program it shows two warning messages. So I want to correct this code.
please help me regarding this project.
THE CODE is GIVEN BELOW:
;****************************************************************
;Name : Initialisation
;Description : system initialisation and mainloop
;Inputs : none
;Outputs : none
;****************************************************************
Initialisation:
;system initialisation
;port A and port B initialisation
bcf status,rp1 ;select bank1 register
bsf status,rp0
movlw PORTA_CONFIG1 ;porta configuration
movwf trisa
movlw PORTB_CONFIG1 ;portb configuration
movwf trisb
bcf status,rp0 ;select bank0 registers
movlw 0x00 ;disable all displays
movwf porta
********************************************************
Message[302] D:\HEARTBEAT MONITOR SOURCE CODE\HEMON.ASM 79 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] D:\HEARTBEAT MONITOR SOURCE CODE\HEMON.ASM 81 : Register in operand not in bank 0. Ensure that bank bits are correct.
I am attaching the source code of this file.