Google Búsqueda personalizada

Regístrate gratis para participar de los foros, o si ya estás registrado haz login.

MPLAB 8,30 error 113 y 105

comentario del autor Mie May 27, 2009 12:00 pm
   
hola soy nuevo en programacion assembler y con el programa mplab, tengo un problema con el programa siguiente...

__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _XT_OSC
LIST P=16F84A
INCLUDE <P16F84A.INC>

CBLOCK 0x0C
ENDC

; ZONA DE CÓDIGOS ********************************************************************

ORG 0
Inicio
call LCD_Inicializa
movlw 'H'
call LCD_Caracter
movlw 'o'
call LCD_Caracter
movlw 'l'
call LCD_Caracter
movlw 'a'
call LCD_Caracter
sleep ; Entra en modo de bajo consumo.

INCLUDE <LCD_4BIT.INC> ; Subrutinas de control del módulo LCD.
INCLUDE <RETARDOS.INC> ; Subrutinas de retardo.
END ; Fin del programa.


cuando intento compilarlo me aparece esto...




Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Archivos de programa\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F84A "PRUEBA ASSEMBLER.ASM" /l"PRUEBA ASSEMBLER.lst" /e"PRUEBA ASSEMBLER.err" /d__DEBUG=1 /c-
Error[113] C:\PRUEBA ASSEMBLER\PRUEBA ASSEMBLER.ASM 24 : Symbol not previously defined (LCD_INICIALIZA)
Error[113] C:\PRUEBA ASSEMBLER\PRUEBA ASSEMBLER.ASM 26 : Symbol not previously defined (LCD_CARACTER)
Error[113] C:\PRUEBA ASSEMBLER\PRUEBA ASSEMBLER.ASM 28 : Symbol not previously defined (LCD_CARACTER)
Error[113] C:\PRUEBA ASSEMBLER\PRUEBA ASSEMBLER.ASM 30 : Symbol not previously defined (LCD_CARACTER)
Error[113] C:\PRUEBA ASSEMBLER\PRUEBA ASSEMBLER.ASM 32 : Symbol not previously defined (LCD_CARACTER)
Error[105] C:\PRUEBA ASSEMBLER\PRUEBA ASSEMBLER.ASM 35 : Cannot open file (Include File "LCD_4BIT.INC" not found)
Error[105] C:\PRUEBA ASSEMBLER\PRUEBA ASSEMBLER.ASM 36 : Cannot open file (Include File "RETARDOS.INC" not found)
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `C:\PRUEBA ASSEMBLER\PRUEBA ASSEMBLER.mcp' failed.
Language tool versions: MPASMWIN.exe v5.30.01, mplink.exe v4.30.01
Preprocessor symbol `__DEBUG' is defined.
Wed May 27 11:30:43 2009
----------------------------------------------------------------------
BUILD FAILED

que podra ser, tengo rato tratando de resolver el problema pero no he podido les agradesco cualquier tipo de ayuda gracias,saludos..................

gongu

Reputación

asistió a la solución Jue May 28, 2009 1:52 am
   
Eso es por que al ensamblar no encuentra las librerías RETARDOS y LCD_4BIT.

Debes colocarlas en el lugar correcto...

vicross
Moderador
Reputación

asistió a la solución Mie Jun 10, 2009 9:52 pm
   
Hola. Coloca las librerias en la misma carpeta donde tienes el .asm y asegurate que su extension sea .asm. Llamalas de esta forma

LIST P=XXXXXX
INCLUDE "PXXXXX.INC"

ORG 0X0
GOTO RESET

INCLUDE "RETARDOS.ASM"
INCLUDE "LCD_4BIT.ASM"

......

Fofo almarales

Reputación

asistió a la solución Sab Jun 13, 2009 4:36 pm
   
Fofo almarales escribió:Hola. Coloca las librerias en la misma carpeta donde tienes el .asm y asegurate que su extension sea .asm

No tiene que ser .ASM, puede ser .INC o .LIB, de hecho puede ser cualquier extensión...

vicross
Moderador
Reputación



Hacer una pregunta

Boletín de Noticias

Reciba noticias de tecnología, tips de reparación y ofertas exclusivas.



Reglamento / P+F

Foros

Miembros / Expertos