Keil Logo

mix asm & c

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
vandana pawar
Posted
24-Nov-2008 05:35 GMT
Toolset
C51
New! mix asm & c

hi,
i have many function in asm now i start write coading in 'c' & i want to include this routien in my 'c' coading how can i include this routien in 'c'

Read-Only
Author
Andy Neil
Posted
24-Nov-2008 07:23 GMT
Toolset
C51
New! RE: mix asm & c

You can call assembler routines from 'C', and vice-versa - see: http://www.keil.com/support/man/docs/c51/c51_ap_ctoasm.htm

If your existing ASM functions haven't been written to be compatible with C51, you could write a suitable "interface" layer - probably in assembler...

Read-Only
Author
erik malund
Posted
24-Nov-2008 13:34 GMT
Toolset
C51
New! the easy way

write a 'skeleton' function in C and use the generated assembler as a template.

Erik

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.