Code:
Clean: Deleting intermediary and output files. Clean: Deleted file "E:\thinh_asm_pic\copy.mcs". Clean: Done. Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /pMCV08A "copy.asm" /l"copy.lst" /e"copy.err" Warning[215] E:\THINH_ASM_PIC\COPY.ASM 3 : Processor superseded by command line. Verify processor symbol. Message[301] C:\PROGRAM FILES\MICROCHIP\MPASM SUITE\P16F628A.INC 35 : MESSAGE: (Processor-header file mismatch. Verify selected processor.) Message[303] E:\THINH_ASM_PIC\COPY.ASM 5 : Program word too large. Truncated to core size. (3FE2) Warning[205] E:\THINH_ASM_PIC\COPY.ASM 8 : Found directive in column 1. (ORG) Message[302] E:\THINH_ASM_PIC\COPY.ASM 16 : Register in operand not in bank 0. Ensure that bank bits are correct. Warning[207] E:\THINH_ASM_PIC\COPY.ASM 24 : Found label after column 1. (END.) Error[129] E:\THINH_ASM_PIC\COPY.ASM 26 : Expected (END) Halting build on first failure as requested. ---------------------------------------------------------------------- Release build of project `E:\thinh_asm_pic\copy.disposable_mcp' failed. Language tool versions: MPASMWIN.exe v5.35, mplink.exe v4.35 Tue Mar 23 21:04:28 2010 ---------------------------------------------------------------------- BUILD FAILED
đây la code em vết
Code:
;======================================================= TITLE "Mach test LED_1" PROCESSOR P16F628A INCLUDE <P16F628A.inc> __CONFIG _CP_OFF & _PWRTE_ON & _WDT_OFF &_HS_OSC ;======================================================= ORG 0x0000 GOTO MAIN ORG 0x0005 MAIN BANKSEL TRISB ; bank select CLRF TRISB ; trisb = 00000000 ; portb = output BANKSEL PORTB BSF PORTB, 0 ; rb0 = 1 ; RB0 = 5V GOTO $ ; dung chuong trinh tai day ; vong lap tai cho^~ ; khong bao gio ket thuc END. ; lenh bat buoc de ket thuc ;================================================================================
Comment