this my test.asm code
section .data
msg db "hello worlds",0
msg_len equ $-msg
section .text
global _start
mov eax, 4
mov ebx, 1
mov ecx, msg
mov edx, msg_len
syscall
mov eax, 1
mov ebx, 1
syscall
i trying run with nasm
nasm -f win64 -o test.obj test.asm
and link with ld
ld -m i386pe -s -o test.exe test.obj
did i get wrong?