Here's a very basic example for ASL, you can find all the details in the RKRM Libraries 3rd edition:
AslBase = OldOpenLibrary("asl.library");
I know this is irrelevant for this requester usage, but OldOpenLibrary has been obsolete for some time now, and even fails with the latest OS versions. You should use OpenLibrary("asl.library", 0) instead.