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

mix assmbly and c

Hi all, can any one tell me the way how to mix c and assembly programing....... i know one way of inline programming i.e.

.......
.......
C code....
.....
.....

#pragma asm
........
assembly code....
........
#pragma endasm

but this type of file written cannot be included in any other file......

i have used IAR assembler for other microcontroller, in which writting

asm ("assembly code");

was working perfectly......

i dont know wether keil supports this.... if yes than what prototype file has to be included for this......

Any help is appriciated....

Thanking You,
Pranav Saraswala.

0