首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从命令中使用PCSpim执行程序集文件

从命令中使用PCSpim执行程序集文件
EN

Stack Overflow用户
提问于 2013-05-15 02:13:22
回答 1查看 243关注 0票数 0

如果有人可以帮助我,我有PCSpim模拟器在我的Windows7PC上,我想加载一个文件并从命令提示符运行它,是否也可以打印PCSpim窗口-输出显示在-in的控制台执行后?提前谢谢。

EN

回答 1

Stack Overflow用户

发布于 2013-05-15 10:46:44

这是HLP文件中的内容。

代码语言:javascript
复制
PCSpim supports a rich command line argument format.  You can control core simulator settings, and specify a file to be loaded automatically.  The command line options available are:

-bare/-asm
-trap/-notrap
-trap_file <file>
-delayed-loads
-delayed-branches
-quiet/-noquiet
-mapped_io/nomapped_io
-file <file> <args>

Note that the -file <file> argument, if specified, must come last.  Anything after the -file <file> option will be considered run-time arguments, and will be saved for the first time the program is executed.

因此,-file命令是加载文件所需的命令。

类似下面这样的代码可能会创建一个file.txt,其结果如下:

代码语言:javascript
复制
pcspim -file myfile.ext >file.txt
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16550010

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档