
        ; This file gives an example of how you might implement an
        ; assembler function that interworks with C.

        ; You'll often see these prefixed with Hdr: for historic reasons.
        ; This is no longer necessary, and in fact omitting them makes it
        ; possible to cross-compile your source code.
        GET     ListOpts
        GET     Macros
        GET     System
        GET     APCS/$APCS

        EXPORT  Beep

        AREA    |Asm$$Code|, CODE, READONLY

Beep    ROUT
        FunctionEntry
        SWI     XOS_WriteI+7
        Return

        END
