Chương trình của em sau khi biên dịch có kết quả ở Output như thế này:
"Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Documents and Settings\tran cam\Desktop\Test code ASM\LED_IO\LED_IO_01.o".
Clean: Deleted file "C:\Documents and Settings\tran cam\Desktop\Test code ASM\LED_IO\LED_IO_01.ERR".
Clean: Deleted file "LED_IO_01.lst".
Clean: Deleted file "LED_IO_01.cof".
Clean Warning: File "LED_IO_01.cod" doesn't exist.
Clean Warning: File "LED_IO_01.hex" doesn't exist.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F877A "LED_IO_01.asm" /l"LED_IO_01.lst" /e"LED_IO_01.err" /o"LED_IO_01.o"
Message[302] C:\DOCUMENTS AND SETTINGS\TRAN CAM\DESKTOP\TEST CODE ASM\LED_IO\LED_IO_01.ASM 15 : Register in operand not in bank 0. Ensure that bank bits are correct.
Warning[205] C:\DOCUMENTS AND SETTINGS\TRAN CAM\DESKTOP\TEST CODE ASM\LED_IO\LED_IO_01.ASM 22 : Found directive in column 1. (END)
Executing: "C:\Program Files\Microchip\MPASM Suite\mplink.exe" "C:\Documents and Settings\tran cam\Desktop\Test code ASM\LED_IO\16f877a.lkr" "C:\Documents and Settings\tran cam\Desktop\Test code ASM\LED_IO\LED_IO_01.o" /o"LED_IO_01.cof" /M"LED_IO_01.map"
MPLINK 4.05, Linker
Copyright (c) 2006 Microchip Technology Inc.
Errors : 0
MP2COD 4.05, COFF to COD File Converter
Copyright (c) 2006 Microchip Technology Inc.
Error - Source file 'C:\Documents and Settings\tran cam\Desktop\Test code ASM\LED_IO\LED_IO_01.asm' name exceeds file format maximum of 62 characters.
Errors : 1
Loaded C:\Documents and Settings\tran cam\Desktop\Test code ASM\LED_IO\LED_IO_01.cof.
BUILD SUCCEEDED: Sun Oct 31 00:34:34 2010
"
Như vậy là đã build xong rồi nhưng không tìm thấy file .hex ở đâu. Mong các anh chỉ giúp.
|