MCUmall EPROM BIOS Chip Burner Forum
MCUmall EPROM BIOS Chip Burner Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 MCUmall Forums
 Novice Place
 executing programes
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dondon

Egypt
1 Posts

Posted - 06/19/2014 :  08:13:06  Show Profile
i wrote a very simple program for a led to flash it worked very well on microchip IDE ,loaded to the chip PIC16f84A, worked perfect,but when mounted on the hardware it doesn't work, below is the program

MAIN_PROGRAM CODE
STATUS equ 03h
TRISB equ 86h
PORTB equ 06h
D1 equ 08h
D2 equ 09h
D3 equ 0Ah

bsf STATUS,5
movlw 00h
movwf TRISB
bcf STATUS,5


start:
movlw b'1111'
movwf PORTB
call DELAY
movlw 00h
movwf PORTB
call DELAY
DELAY
movlw d'4'
movwf D3
LOOP
decfsz D1,1
goto LOOP
decfsz D2,1
goto LOOP
decfsz D3,1
goto LOOP
RETURN
END
where is my fault
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
MCUmall EPROM BIOS Chip Burner Forum © Copyright 2003 - 2009 Mcumall Electronics Inc. Go To Top Of Page
Generated in 0.09 sec. Snitz Forums 2000