This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ORG 0H END

my program is asm file (.a51) when i build it ,the message occurs .I hadn't found a way to solve it, It really makes me headache. would you help me please?

the message is as follows:

COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2008
*** ERROR: COMMAND-FILE '' NOT FOUND
one led.a51 - 0 Error(s), 0 Warning(s).

Parents
  • Thanks for patient and heartful reply.

    this is the simple code i write:

    ORG 000H
    MAIN: SETB P1.0 LCALL DELAY CLR P1.0 LCALL DELAY LJMP MAIN
    DELAY:MOV R7,#250
    D1:MOV R6,#250
    D2:DJNZ R6,D2 DJNZ R7,D1 RET
    END

    this is the message after press the “build” button:

    Build target 'Target 1'
    assembling one led.a51...
    A51 MACRO ASSEMBLER V8.02b - SN: K1UMC-BDZY1C
    COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2008
    *** ERROR: COMMAND-FILE '' NOT FOUND
    Target not created.

Reply
  • Thanks for patient and heartful reply.

    this is the simple code i write:

    ORG 000H
    MAIN: SETB P1.0 LCALL DELAY CLR P1.0 LCALL DELAY LJMP MAIN
    DELAY:MOV R7,#250
    D1:MOV R6,#250
    D2:DJNZ R6,D2 DJNZ R7,D1 RET
    END

    this is the message after press the “build” button:

    Build target 'Target 1'
    assembling one led.a51...
    A51 MACRO ASSEMBLER V8.02b - SN: K1UMC-BDZY1C
    COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2008
    *** ERROR: COMMAND-FILE '' NOT FOUND
    Target not created.

Children