 | Discussion Forum |  |
|
|
mix asm & cNext 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 |  mix asm & c vandana pawar 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 |  RE: mix asm & c Andy Neil 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 |  the easy way erik malund 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 |
|