I have problem with MCU 8051 IDE simulator, when used c language but it was coming the message "no sdcc compiler" after i installed the sdcc compiler to my pc but after I wrote a c program and compiler it. then its came this message
"sdcc -mmcs51 --iram-size 256 --xram-size 0 --code-size 8192 --nooverlay --compile-only --noinduction --std-sdcc89 --model-small "task1.1cpro.c" task1.1cpro.c:6: warning 94: comparison is always true due to limited range of data type
Unable to find "task1.cdb" | +-- Most probably that indicates that you have disabled debugging switch, if it is not that what you want then go to [Main Menu] --> [Configure] --> [Compiler configuration] --> [C language] --> [General] and enable "--debug" compiler switch. "
what is the matter i can't find it any advise to solve this problem............
After installing SDCC,you can type on the windows prompt sdcc -v to check its version. Now create a folder called src to store your C files. write your code and save as code.c in src folder.
the Open cmd.exe and navigate to src Folder. Type the following command to compile the C file.
sdcc code.c
If there are no errors,the code will compile and generate several files.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.