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

How to use assembler into C sourse code

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.

0