Re: keil compiler



"Dejan" <dejan@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:e5kd84$fvn$1@xxxxxxxxxxxxxxxxx
"ishita" <aparna247@xxxxxxxxx> wrote in message
news:1149085381.017972.107220@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I read all available documents. I used #pragma asm & endasm derectives.
Also enabled SCR control ooption. But still getting error while
compilation. I want to complete the project as early as possible. So if
anybody knows please tell me.
Best regards.



There's no "#pragma asm" directive in Keil compiler. Also, there's no SCR
control
option. There's SRC one, though. That one generates source code from you
C-code
which you can run through ASM. Otherwise, you cannot interleave asm
instructions
with the C-source.

- Dejan

My Keil project contains the following line (amongst others) within a C
function...

__asm{ ADD LR, LR, #4 };

....but I am using ARM compiler. Don't know what SRC is so suspect your
target is different.

Strangely I learned how to do this by reading the manual.

Regards,
Richard.

http://www.FreeRTOS.org
*Now for ARM CORTEX M3!*


.


Quantcast