
        ; 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

        IMPORT  PrintR5

        AREA    |Asm$$Code|, CODE, READONLY

        ENTRY

        ; Create a stack
        MOV     sp, #&9000

        ; Call a routine in another file
        LDR     r5, =&12345678
        BL      PrintR5

        SWI     XOS_Exit

        END
