AEWE
18.07.2005, 19:27
Hallo benötige hilf hir mein code was ist daran falsch
list p=16f877a
#include <p16f877a.inc>
ERRORLEVEL -302 ;SUPPRESS BANK SELECTION MESSAGES
STARTUP org 0
goto Init
;***** variable ************
;***** variable ende********
Init
;*********** init **********
bsf STATUS, RP0
movlw B'00000000'
movwf TRISB
bcf STATUS, RP0
clrf PORTB
clrf PORTA
bcf STATUS, Z
;***********End Init************
org 0
Main
movfw PORTB
sublw H'01'
btfss STATUS, Z
goto Main
bcf STATUS, Z
goto Main
end
Fehler report
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"
Warning[205] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 4 : Found directive in column 1. (ERRORLEVEL)
Make: The target "J:\M. Display\AD Wandler\A-D.cof" is out of date.
Executing: "C:\Programme\Microchip\MPASM Suite\MPLINK.EXE" "C:\Programme\Microchip\MPASM Suite\LKR\16f877a.lkr" "J:\M. Display\LED Matrix\AD Wandler.o" /o"A-D.cof"
MPLINK 3.92, Linker
Copyright (c) 2005 Microchip Technology Inc.
Error - section '.org_0' can not fit the absolute section. Section '.org_0' start=0x00000000, length=0x00000010
Errors : 1
BUILD FAILED: Mon Jul 18 19:25:43 2005
list p=16f877a
#include <p16f877a.inc>
ERRORLEVEL -302 ;SUPPRESS BANK SELECTION MESSAGES
STARTUP org 0
goto Init
;***** variable ************
;***** variable ende********
Init
;*********** init **********
bsf STATUS, RP0
movlw B'00000000'
movwf TRISB
bcf STATUS, RP0
clrf PORTB
clrf PORTA
bcf STATUS, Z
;***********End Init************
org 0
Main
movfw PORTB
sublw H'01'
btfss STATUS, Z
goto Main
bcf STATUS, Z
goto Main
end
Fehler report
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"
Warning[205] J:\M. DISPLAY\LED MATRIX\AD WANDLER.ASM 4 : Found directive in column 1. (ERRORLEVEL)
Make: The target "J:\M. Display\AD Wandler\A-D.cof" is out of date.
Executing: "C:\Programme\Microchip\MPASM Suite\MPLINK.EXE" "C:\Programme\Microchip\MPASM Suite\LKR\16f877a.lkr" "J:\M. Display\LED Matrix\AD Wandler.o" /o"A-D.cof"
MPLINK 3.92, Linker
Copyright (c) 2005 Microchip Technology Inc.
Error - section '.org_0' can not fit the absolute section. Section '.org_0' start=0x00000000, length=0x00000010
Errors : 1
BUILD FAILED: Mon Jul 18 19:25:43 2005