单声道 ASM 一代

发布于 2024-08-15 13:45:58 字数 145 浏览 9 评论 0原文

我想尝试用C#写一个简单的内核,比如cosmos,仅供学习。是否可以从 Mono 程序集生成 x86 或 x86-64 ASM?因为 mono --full-aot 生成一个可执行文件...

生成 ASM 后,我需要使用 NASM 对其进行编译。有什么想法吗?

I want to try write a simple kernel in C# like cosmos, just for learning. Is it possible to generate x86 or x86-64 ASM from a Mono assembly? because mono --full-aot generates an executable...

After the generation of the ASM I need to compile it with NASM. Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

心舞飞扬 2024-08-22 13:45:58

您可以使用:

mono --aot=asmonly foo.exe

You can use:

mono --aot=asmonly foo.exe

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