what does the assembler do is just convert the assembly language
source file into a object file. file name ended with .a .obj .o like extension.
I'm using nasm and suggest you too use it.With this command like you
assembling it to a object file.
nasm -f elf HelloWorld.asm
and you need a linker , I have mingw installed in my windows machine
so I suggested to use mingw ld linker to link this.But you need extra
libraries to pass to use the functions like _printf , so that we use the
gcc ( GNU C compiler's fontend for 'ld') , but actually 'ld' is using.