Windows 10上的Turbo Assembler 16位编译器

问题描述 投票:0回答:1

我只是想轻松编译和调试我的汇编项目,我下载了Visual ASM programm for windows 10。它在32位TASM编译器上运行和工作,但我不能在16位编译器上编译。在它之前,我使用dos-box模拟dos来编译16位命令。现在我想知道是否有可能在windows 10上编译一些16位的命令。对不起,我的英语不好,谢谢。

windows assembly x86-16 tasm
1个回答
2
投票

当然,你可以写和编译16位的realmode程序在64位的Windows,但你不能运行它们,因为嵌入式DOS模拟器,你可以写和编译,但你不能运行它们。NTVDM.EXE 只有在32位的Windows上才能使用,我们必须安装第三方仿真器,如DosBox。

D:>ver
DOSBox version 0.74-2. Reported DOS version 5.00
D:>tasm.exe
Turbo Assembler Version 2.01 Copyright (c) 1988, 1990 Borland International
Syntax:  TASM [options] source [,object], [,listing] [,xref]

在DOSBox中,你可以使用16位工具TASM.EXE、TLINK.EXE、TD.EXE进行组装、链接、调试、执行。

Borland在1993年发布了它的32位编译器,内置扩展器32RTF,它可以在64位的Windows上运行,你的可视化IDE可能使用这个版本。

C:\>ver
Microsoft Windows [Version 10.0.16299.15]
C:\>tasm.exe
Turbo Assembler  Version 4.0  Copyright (c) 1988, 1993 Borland International
Syntax:  TASM [options] source [,object] [,listing] [,xref]

然而,你仍然不能在DOSBox之外执行用它编写的16位程序.你应该放弃16位的领域,就像@PeterCordes告诉你的那样。

© www.soinside.com 2019 - 2024. All rights reserved.