Microsoft ARM Assembler

The Microsoft ARM assemblers, armasm and armasm64, support several command-line options. By default, armasm assembles ARMv7 Thumb assembly language into the Microsoft implementation of the Common Object File Format (COFF). The armasm64 assembler creates COFF object code for ARM64 and ARM64EC targets.

Program

    EXPORT WinMainCRTStartup
    AREA .text, CODE

WinMainCRTStartup PROC
    mov     x1, #0
    svc     #44
    ENDP
    END    
armasm64 -machine arm64 program.asm -o project.obj
link program.obj /SUBSYSTEM:windows