hola soy practicamente nuevo en el tema ... se un poco de programacion en asm y me estan ayudando a avanzar con este tema ... pero tengo un problema en otra pc o cuando me estan enseñando me andan los programas pero en mi pc me pone ultimamente BUILD FAILED creo que me estoy comiendo algo o me falta algo o alguna configuracion capas ... me podrian ayudar ?? desde ya muchas gracias !°!
codigo :
list p=16f88
#INCLUDE <P16F88.INC>
CBLOCK 0X20
REG1
REG2
REG3
ORG 0X0000
GOTO MAIN
MAIN CLRF PORTB
BANKSEL TRISB
MOVLW 0X0C
MOVWF TRISB
BANKSEL PORTB
GOTO PROGRAM
PROGRAM BSF PORTB,0
GOTO $
END
,------------------------------------------------------------------
y el error que me tira es el siguiente :
Debug build of project `C:\Users\nahuel\Desktop\Proyectos (assembler)\nahuel1.mcp' started.
Language tool versions: MPASMWIN.exe v5.49, mplink.exe v4.47, mplib.exe v4.47
Preprocessor symbol `__DEBUG' is defined.
Sun Aug 25 16:20:44 2013
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "D:\Program Files (x86)\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F88 "nahuel1.asm" /l"nahuel1.lst" /e"nahuel1.err" /d__DEBUG=1
Warning[205] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 1 : Found directive in column 1. (list)
Error[121] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 10 : Illegal label (ORG 0X0000)
Error[121] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 11 : Illegal label (GOTO MAIN)
Error[121] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 14 : Illegal label (MAIN CLRF PORTB)
Error[121] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 15 : Illegal label (BANKSEL TRISB)
Error[121] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 16 : Illegal label (MOVLW 0X0C)
Error[121] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 17 : Illegal label (MOVWF TRISB)
Error[121] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 18 : Illegal label (BANKSEL PORTB)
Error[121] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 19 : Illegal label (GOTO PROGRAM)
Error[121] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 21 : Illegal label (PROGRAM BSF PORTB)
Error[121] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 21 : Illegal label (0)
Error[121] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 22 : Illegal label (GOTO $)
Error[121] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 23 : Illegal label (END)
Error[129] C:\USERS\NAHUEL\DESKTOP\PROYECTOS (ASSEMBLER)\NAHUEL1.ASM 24 : Expected (END)
Skipping link step. Not all sources built successfully.
----------------------------------------------------------------------
Debug build of project `C:\Users\nahuel\Desktop\Proyectos (assembler)\nahuel1.mcp' failed.
Language tool versions: MPASMWIN.exe v5.49, mplink.exe v4.47, mplib.exe v4.47
Preprocessor symbol `__DEBUG' is defined.
Sun Aug 25 16:20:45 2013
----------------------------------------------------------------------
BUILD FAILED
;-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
el unico error que no entiendo es el 121... el warning si xq esta en la columna incorrecta si no me equivoco ,,,