;    s.HelloW
;
;******************************************************************************
;
;    This file assembles to form a hello world program run
;    from the command line with no arguments.
;

        AREA    |main|, CODE, READONLY

; Use the GET directive to include a list of SWI names as if typed here

        GET     ^.AsmHdrs.h.SWINames

; Now for the actual program code

        ENTRY                           ; ObjAsm entry point directive

        SWI     OS_GetEnv
        MOV     r13, r1                 ; set up stack pointer

        SWI     OS_WriteS               ; confirm job done
        = "Hello World",13,10,0
        ALIGN

        SWI     OS_Exit

        END
