How can I pass parameters from C file to assembly file in C167CR.if i call a function(in inline assembly ) from c file and pass parameters then if i use that parameters in assembly how i can alocate the parameters to registers.
Have you read the section, "Interfacing C Programs to Assembler" in the User's Guide (C166.pdf - accessible via the 'Books' tab in the Project window)
Yes Sir,I have read it,I want to ask that user can't decide the registers to store the passing parameters from C functioncall.
The compiler will allocate parameters to registers according to its standard scheme - the "Calling Convention" - as desribed in that section of the User Guide. If you want any code written in one language (eg, assembler) to be callable from another language (eg, 'C'), then you must observe the calling convention of the other language!