Next Thread | Thread List | Previous Thread
Start a Thread | Settings
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'
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...
write a 'skeleton' function in C and use the generated assembler
as a template.
Copyright © 2005-2018 Arm Limited (or its affiliates). All rights reserved.