汇编语言:如何打印 ax 命令行的值?
汇编语言。我用的是masm32。 假设我有 ax = 100h。 如何在命令行上打印 ax 的值。 谢谢
Assembly language. I am using masm32.
Let's say I have ax = 100h.
How do I print the value of ax on command line.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用官方 MASM32 软件包,那么它已经包含了一堆与控制台相关的内容,您所要做的就是是引用masm32.lib并调用相应的函数。所有这些信息都包含在包中,您将已经拥有一个本地副本,您只需阅读正确的 .chm 文件即可。
这篇 MASM32 论坛帖子可能会帮助您指明正确的方向。
If you are using the official MASM32 package then it has a bunch of console related stuff already included, all you have to do is reference masm32.lib and call the appropriate function. The info for all this is included in the package and you will already have a local copy, you just have to read the right .chm file.
This MASM32 forum post may help point you in the right direction.