Search this forum for "calling c from assembly" and see if any of them help.I gave up counting at ONE HUNDRED. You should search before posting (and if you have searched and found nothing, say so, and detail why your problem is different from the previous ones).
Watch out that the ABI changed after CW 7.2, so any examples prior to that (MOST examples are prior to that) won't work on later CW versions.
I only know the ABI for gcc, and that's different to CW.
Why do you need to call C from Assembly? It is usually always better to get from Assembly into C ASAP and then stay there.
Tom