Im on a new computer, trying to use the A51 assembler. In a command prompt window, I can type "A51 some_file.asm" and the assembler will load, however, it will give me a fatal error with the error being an unknown control. I am not using any control directives but when I do, I still get the same issue. My path and environment variables (C51LIB and C51INC) were set to the directory where they were installed, am I missing something?
Same problem here, UNKNOWN CONTROL (The selected control parameter is unrecognized by the compiler)
I am using C51 COMPILER V3.20 in the XP command-box. Code was buildable 20 years ago, has not been touched since then.
Environment and library-paths are set correct
Any idea?
Problem Solved: Sorry it took so long to get back, very busy week at work! The problem was solved a few days ago. The way our computer system was setup, the compiler/linker/assembler was installed over the network for employee use. What I did (too bad I didn't think of this sooner) was copy the directory the files were stored in to my local machine. The files were put in C:\work\keil and all I had to do was edit some of my environment variables (System Poperties -> Advanced -> Environment Variables). The Path variable gets modified so "C:\work\keil" is at the end and I created C51INC variable with path "C:\work\keil\inc" and C51LIB with path "C:\work\keil\lib".
My next try was to recompile and everything worked, no errors no warnings. Hope this helps
View all questions in Keil forum