1. About
JWasm is a MASM v6 compatible assembler. It's a fork of Open Watcom's WASM and released under the Sybase Open Watcom Public License, which allows free commercial and non-commercial use. JWasm is written in C, source code is open.
JWasm Features:
JWasm natively supports output formats Intel OMF, MS COFF and ELF.
JWasm binaries are available for DOS, Windows and Linux.
Instructions up to SSE3 are supported.
As far as programming for Windows is concerned, JWasm can be used with both Win32Inc and Masm32.
C header files can be converted to include files for JWasm with h2incX.
Post by huyongzs;1884965
因为你这段代码是针对dos+masm的代码。
所以你可以用linux下的dosbox来模拟dos环境。
下载你要用的dos程序。包括masm5,debug。并且在linux下设置一个目录用来放你要用的dos程序,要处理的汇编程序文件(xxx.asm)也放在同一个目录下,在dosbox下挂载这个目录作为C盘就可以。如果要编辑汇编代码可以直接退出dosbox然后使用linux下的工具编辑。