make new library

I want to know the steps to make new C51 library and use it.
If possible, please give out an example.
Thanks.

More questions in this forum