Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要做的是使用 Emu8086 调试我的汇编代码,方法是启动我的程序,就好像它是通过带有一些参数的命令行启动的一样。使用 DOSBox,我像这样启动我的程序:“program.exe result.txt source.txt”(result.txt 和 source.txt 但都是参数)它不能按预期的方式工作,我需要找出原因。一个“模仿”命令行参数如何传递给 Emu8086?
启动模拟器。您会在模拟器窗口中找到选项file - set command line parameters. 在这里您可以插入“result.txt source.txt”。之后,您将提示您重新加载程序。点击“是”。当您更改代码并想要调试新版本时,您无需关闭模拟器窗口。只需在编辑器窗口中单击“模拟”即可。命令行参数不会更改或删除,您可以使用“旧”命令行参数调试新版本。
file - set command line parameters