As I use inline assembler in my C program, I have to include the related C library in my project. If the project is configured to 22-bit contiguous mode & dual DPTRs of DS80C390, can you tell me which C library should be included ? Thks.
Since the source file contains inline assembler, the "generate assembler SRC file" & "assemble SRC file" options are enabled. You didn't get it. The important question is not whether these are turned on or not, it's where you turn them on. They should only be active for this particular source file, not for the entire project. The C standard library normally doesn't have to specified by hand. You created that need yourself by compiling all C files with those options, instead of only those that actually need them. That makes the project look like a "100% assembler" program to the linker, so it correctly decided not to pull in the C runtime automatically.