Hello everyone, thank you for your replies, i am getting somewhere. Fins attached below my code. The LED's are blinking, problem now lies with this 1 sec, the lecturer told us we should calculate 1 sec, which ofcourse i don't know. My other problem is i get an error message after few minutes of simulating my code. The error states "Stack overflow hardware" something like that. I can't fix it; i still have to connect it on the bread broard. HERE IS MY CODE: Please advise me.
fx equ h'20'
org 0
bsf 3,5
movlw 40h
movwf 86
bcf 3,5
delay movlw 161
movwf fx
main
bsf 6,0
bcf 6,0
bsf 6,1
bcf 6,1
call delay
goto main
end ;END OF THE PROGRAM