I want to compile simple program using assemblers such as MASM or FASM.
Ideal
model small
Stack 256
Dataseg
str1 db 'hello','$'
Codeseg
Startupcode
lea dx, [str1]
mov ah, 09h
int 21h
lea dx, [ent]
mov ah, 09h
int 21h
exitcode
END
This source is compiled on TASM in my college, but how to do it using MASM or FASM ?