Can anyone tell me what the problem is with error [126]?
Warning[224] C:\PIC DOCUMENTS\MEDTIM.ASM 47 : Use of this instruction is not recommended.
Warning[224] C:\PIC DOCUMENTS\MEDTIM.ASM 51 : Use of this instruction is not recommended.
Warning[224] C:\PIC DOCUMENTS\MEDTIM.ASM 55 : Use of this instruction is not recommended.
Warning[224] C:\PIC DOCUMENTS\MEDTIM.ASM 59 : Use of this instruction is not recommended.
Error[126] C:\PIC DOCUMENTS\MEDTIM.ASM 59 : Argument out of range (0008 not between 0005 and 0007)
Message[305] C:\PIC DOCUMENTS\MEDTIM.ASM 217 : Using default destination of 1 (file).
Message[305] C:\PIC DOCUMENTS\MEDTIM.ASM 228 : Using default destination of 1 (file).
Message[305] C:\PIC DOCUMENTS\MEDTIM.ASM 242 : Using default destination of 1 (file).
Message[305] C:\PIC DOCUMENTS\MEDTIM.ASM 324 : Using default destination of 1 (file).
list p=pic16f877
radix hex
; #include <p16f877>
;================================================================================================================================================================================
;
; cpu equates (memory map)
tmro equ 0x01
status equ 0x03
porta equ 0x05
portb equ 0x06
portc equ 0x07
portd equ 0x08
porte equ 0x09
intcon equ 0x0c
t1con equ 0x10
second equ 0x20
minute equ 0x21
hours equ 0x22
minutes equ 0x23
;============================================================================================================================================================
org 0x00
goto start ;skip interrupt vector
start
org 0x004
bcf intcon,7 ;disable global interrupt
movlw b'000001' ;setup port a
tris porta ;setup port a 1=in,0=out
movlw b'000000' ;clear porta
movwf porta
movlw b'00000111' ;setup portb
tris portb ;setup portb 1=in, 0=out
movlw b'00000000' ;clear b
movwf portb
movlw b'00001100' ;portc
tris portc ;setup portc 1=in,0=out
movlw b'00000000' ;clear c
movwf portc
movlw b'00000000' ;setup d
tris portd
movlw b'00000000' ;clear d
movwf portd
pgm
clrw ;clear w
clrf second ;clear second count
clrf minute ;clear minute count
clrf minutes ;clear clock mintes
clrf hours ;clear clock hours
btfss porta,5 ;test port a5, skip next if set(low active)
goto two
btfss portb,5 ;test portb5, skip next if set
goto four
btfss portb,6 ;test portb6
goto six
btfss portb,7 ;test portb7
goto eight
btfss portc,4 ;test portc4,skip next if set
goto ten
btfss portc,5 ;test portc5
goto twelve