Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
i have to return values from inline assembly stored at locations 14h,15h,16h,17h to c function so pls help me
You'll need to assign it to a 'C' variable.
See: http://www.keil.com/forum/docs/thread9558.asp
But please pay attention to all the issues raised there about inline assembler - unless you have a really compelling reason to do it, and unless you really understand what's going on, just don't do it!.
Write a separate assembler module instead, and Call it from 'C' - then you can use the documented function call & return conventions described in the C51 Manual