I'm writing "Hello,World" to console with DOS in FASM. But it's not working with x64.
I've tried to write program for x64 but it's not working, too.
Where is my fault?
It's my code:
format PE64
org 100h
mov ax, cs
mov ds, ax
mov dx, msg
mov ah, 9h
int 21h
mov ah, 4c00h
int 21h
msg db 'Hello, World!$'