我想使用 MASM 或 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
这个源代码是在我大学的 TASM 上编译的,但是如何使用 MASM 或 FASM 呢?