want code for Serially Received ASCII Character to Binary

I am using 89S5853, Want to Convert Serially Received ASCII Character to Binary at Controller PORT.

code is either in c or assembly.
Please Help

More questions in this forum