We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,everyone! Help me, please, with my problem! i'm working in Keil C251 compiler. i have to use assembler code into C code and i found in C251 user's manual directives "#pragma asm/endasm". but i can't compile this. compiler writes: " 'asm/endasm' requires src-control to be active ". May be i must to do anything for working with asm/endasm directives, what i dont know. Or may be i'm in wrong way. Please, help me! Gennady.
See the Thread "How to compiler (sic) *.src file?" Look up the message in the Errors help file (click on the message in the build results window, then press F1). You need to use the command-line option (or uVision option) to tell the Compiler to generate .src. See the C251 manual documentation on "#pragma asm/endasm