i have big routine of division of 32/32 bit in assembly can we call as inline assembly or better to have separate assembly module pls send some example to use assembly routine in c file
If it's a big routine, then it should certainly not be inline!
But C51 has 32-bit integer support built-in - why would you need an assembly routine?! http://www.keil.com/support/man/docs/c51/c51_ap_4bytescalar.htm
"pls send some example to use assembly routine in c file"
It's in the Manual! http://www.keil.com/support/man/docs/c51/c51_ap_ctoasm.htm
i have big routine of division of 32/32 bit in assembly
Is it faster/shorter/better than the built-in routine ?
In any case, if it is a big routine, then it belongs in a separate assembly file.
Is this a continuation of your previous thread: http://www.keil.com/forum/docs/thread9605.asp
Use the 'Reply' button to keep your replies in the same thread!
asking the same question with slightly different wording will NOT give you different answers.
MAKE THE ASSEMBLER IN A SEPARATE MODULE!!!!!!!
Erik