masm.exe 不起作用
为了避免长篇大论,我的老师让我们使用 MASM.EXE 可执行文件来汇编 .asm 文件。她说该软件在 Windows Vista 和 7 中存在问题,但在 XP 中则没有问题。我已经看到它在许多计算机上工作(使用 masm xxx.asm 或 debug),但在我的计算机(与其他计算机一样运行 XP SP3)中它什么也不做。
我知道 MASM.EXE 比计算机甚至恐龙还要古老,但我需要使用它(例如,而不是 ml.exe),因为我的学校是如此铁杆(而且愚蠢)。
tl;dr,当我运行“debug”或“masm xxx.asm”时,masm.exe 什么也不做。
预先非常感谢您!
To not make a short story long, my teacher makes us use a MASM.EXE executable to assemble .asm files. She says the software has problems in Windows Vista and Seven, but not in XP. I have seen it work in many computers (using masm xxx.asm or debug), but in my machine (running XP SP3 as the others) it just does nothing.
I know that MASM.EXE is older than computers and even dinosaurs, but I need to use it (and not ml.exe, for example) because my school is so hardcore (and stupid).
tl;dr, when I run either 'debug' or 'masm xxx.asm' masm.exe does nothing.
Thank you very much in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有趣的是,我有一个完全可用的 XP,它运行
debug
得很好。好吧,它在运行时痛苦地将窗口强制为 80x25,并出于某种奇怪的原因将我的提示更改回退出时的短文件名版本,但它确实运行!我无法测试 < code>masm 本身,因为它尚未安装,但首先要做的事情。确保你正在运行正确的东西:
看看它会返回什么。还要确保执行:
以确保没有
bat
或cmd
文件妨碍。如果有必要,使用整个路径来运行它:您还可以尝试在 DOSBox 之类的环境中运行它,这将是一个更原始的(
masm
-友好)环境。如果做不到这一切,你就会遇到两个问题。第一个是我们试图解决的技术问题,第二个是社会工程问题。
立即告诉您的教育工作者(并用书面记录来支持),尽管您符合他们的所有标准,但他们为您提供的工具无法在您的系统上运行。
他们确实有责任为您提供可行的工具,即使他们不在乎,他们至少知道问题所在,这可能会减轻您在未来遇到的任何问题。
Interestingly, I have a fully up-to-service XP and it runs
debug
just fine. Well, it painfully forces the window to 80x25 while it's running and changes my prompt back to the short-file-name version on exit for some bizarre reason, but it certainly runs!I can't test
masm
itself since it's not installed but first things first. Make sure you're running the right thing:and see what it comes back with. Also make sure you execute:
to ensure there's no
bat
orcmd
files getting in the way. If necessary, use the entire path to run it:You could also try running it in something like DOSBox which would be a far more primitive (
masm
-friendly) environment.Failing all that, you have two problems. The first is the technical one which we're trying to fix, the second is a social engineering one.
Tell your educators right now (and back it up with something written down) that the tools they have given you are not working on your system despite the fact you meet all their criteria.
They do have a responsibility to provide you with workable tools and, even if they don't care, they at least know of the problem which may mitigate any problems you have down the track.