Buonasera Gius,
I attach a document created by crashaz (please credit HIM, not me, for this) and posted by him in the Landscaper and Architects forum in 2005. That thread and the document were lost in the big hacker-created crash SOH had. The document shows you how to create an object library. Also, I attach the source code of a library which contains API objects created with EOD. With both things (and with SCASM, of course) you can figure out how to do it.
Best regards,
Xavier