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

Error while assembling the code

Sir,
I was using the Keil uVision3 to simulate an 8051 assembly program using P89V51RD2 device. The program assembly code is written below:

ORG 00H
MOV A, #51H
MOV R1, A
END

Sir, I followed all the procedures given in the tutorial of Keil uVision3, but, when I clicked on "Translate Current file" tab, the following error was shown:

assembling p1.asm...
--- Error: can't execute 'C:\Keil\C51\BIN\A51.EXE'
p1.asm - 1 Error(s), 0 Warning(s).

Sir, please let me know what does this error mean and what can I do to eliminate this error as soon as possible.

Thanking you in anticipation.
-Sameer

  • If the error is:
    "can't execute 'C:\Keil\C51\BIN\A51.EXE'"
    I would think your next step would be to verify that there is such a program, and then manually try to start it from the command line just to verify that it could be started.

    But for some reason I don't see you post any note about what the result was of that test. Did you forget to verify that you had a working A51.EXE in the specified directory?