汇编语言:如何打印 ax 命令行的值?

发布于 2024-11-18 10:59:02 字数 60 浏览 7 评论 0原文

汇编语言。我用的是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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情深已缘浅 2024-11-25 10:59:02

如果您使用官方 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文