Programování s PICKIT3

[code] LIST P=16F876
INCLUDE<P16F876.INC>
__CONFIG _PWRTE_ON & _WDT_OFF & _RC_OSC

#DEFINE TLAC PORTA,0 ; Poznamky se pisi
#DEFINE LED PORTA,1 ; za stredniky !!!

BSF STATUS,RP0
MOVLW B'00000001'
MOVWF TRISA
BCF STATUS,RP0

BCF LED

START BTFSS TLAC
GOTO $-1
BSF LED
BTFSC TLAC
GOTO $-1

BTFSS TLAC
GOTO $-1
BCF LED
BTFSC TLAC
GOTO $-1

GOTO START

END [/code]

[code]Debug build of project I:\PIC\ZKOUSKA\ASM\Snehulak.mcp' started. Language tool versions: MPASMWIN.exe v5.51, mplink.exe v4.49, mplib.exe v4.49 Preprocessor symbol __DEBUG’ is defined.
Sun Apr 06 08:41:19 2014

Clean: Deleting intermediary and output files.
Clean: Deleted file “I:\PIC\ZKOUSKA\ASM\Matyas.o”.
Clean: Deleted file “I:\PIC\ZKOUSKA\ASM\Matyas.err”.
Clean: Deleted file “I:\PIC\ZKOUSKA\ASM\Matyas.hex”.
Clean: Deleted file “I:\PIC\ZKOUSKA\ASM\Matyas.lst”.
Clean: Deleted file “I:\PIC\ZKOUSKA\ASM\Matyas.cof”.
Clean: Done.
Executing: “I:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe” /q /p16F876 “Matyas.asm” /l"Matyas.lst" /e"Matyas.err" /d__DEBUG=1
Message[302] I:\PIC\ZKOUSKA\ASM\MATYAS.ASM 10 : Register in operand not in bank 0. Ensure that bank bits are correct.
Executing: “I:\Program Files\Microchip\MPASM Suite\mplink.exe” /p16F876 “Matyas.o” /u_DEBUG /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /o"Matyas.cof" /M"Matyas.map" /W /x
MPLINK 4.49, Linker
Device Database Version 1.14
Copyright © 1998-2011 Microchip Technology Inc.
Errors : 0

Loaded I:\PIC\ZKOUSKA\ASM\Matyas.cof.

Debug build of project I:\PIC\ZKOUSKA\ASM\Snehulak.mcp' succeeded. Language tool versions: MPASMWIN.exe v5.51, mplink.exe v4.49, mplib.exe v4.49 Preprocessor symbol __DEBUG’ is defined.
Sun Apr 06 08:41:20 2014

BUILD SUCCEEDED
[/code]
neco delas spatne …, jen sem pridal tabulatory …