【问题标题】:Turbo Assembler 16 bit compiler on Windows 10Windows 10 上的 Turbo Assembler 16 位编译器
【发布时间】:2020-06-03 05:32:51
【问题描述】:

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

【问题讨论】:

  • 不适用于 64 位 Windows,AFAIK。 16 位 asm 已经过时了 20 多年;你可以只写 64 位或 32 位代码。
  • 所以它编译成虚拟 16 位还是不编译?
  • 程序调用 ASM Visual link

标签: windows assembly x86-16 tasm


【解决方案1】:

当然,你可以在 64 位 Windows 上编写和编译 16 位实模式程序,但你不能运行它们,因为嵌入式 DOS 模拟器 NTVDM.EXE 仅在 32 位 Windows 上可用。 我们必须安装 3rd 方模拟器,例如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 位程序。 正如@PeterCordes 告诉你的,你应该放弃 16 位的领域。

【讨论】:

  • 所以在 windows 10 上编译一些 16 位 com 是不可能的
  • 可以编译,但不能直接在 64 位 Windows 上运行。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2010-09-18
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-08-28
  • 1970-01-01
  • 2011-07-31
相关资源
最近更新 更多