Hier ist der Code denke daran kann nun wirklich nichts falsch sein.
list p=16f877a
#include <p16f877a.inc>
;***** variable ************
;***** variable ende********
;*********** init **********
bsf STATUS, RP0
movlw B'00000000'
movwf TRISB
bcf STATUS, RP0
clrf PORTB
clrf PORTA
bcf STATUS, Z
;***********End Init************
Main
movfw PORTB
sublw H'01'
btfss STATUS, Z
goto Main
bcf STATUS, Z
goto Main
end
Nur halt ein einfaches weil es bei gar keinem Code funktioniert.
Und hier die Error Liste
Make: The target "J:\M. Display\LED Matrix\AD Wandler.o" is out of date.
Executing: "C:\Programme\Microchip\MPASM Suite\MPASMWIN.EXE" /q /p16F877A "AD Wandler.asm" /l"AD Wandler.lst" /e"AD Wandler.err" /o"AD Wandler.o"
Error[152] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 12 : Executable code and data must be defined in an appropriate section
Error[152] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 13 : Executable code and data must be defined in an appropriate section
Message[302] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 14 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[152] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 14 : Executable code and data must be defined in an appropriate section
Error[152] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 15 : Executable code and data must be defined in an appropriate section
Error[152] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 16 : Executable code and data must be defined in an appropriate section
Error[152] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 17 : Executable code and data must be defined in an appropriate section
Error[152] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 18 : Executable code and data must be defined in an appropriate section
Error[150] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 22 : Labels must be defined in a code or data section when making an object file
Error[152] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 24 : Executable code and data must be defined in an appropriate section
Error[152] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 25 : Executable code and data must be defined in an appropriate section
Error[152] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 26 : Executable code and data must be defined in an appropriate section
Error[151] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 27 : Operand contains unresolvable labels or is too complex
Error[152] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 27 : Executable code and data must be defined in an appropriate section
Error[152] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 28 : Executable code and data must be defined in an appropriate section
Error[151] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 29 : Operand contains unresolvable labels or is too complex
Error[152] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 29 : Executable code and data must be defined in an appropriate section
Halting build on first failure as requested.
BUILD FAILED: Sun Jul 17 11:24:04 2005
Ich danke euch
Lesezeichen