从哪里开始学习汇编 - IDE、示例

发布于 2024-11-27 11:47:03 字数 233 浏览 2 评论 0原文

我有扎实的 C# 知识,我可以很好地使用 C,并且我正在学习 C++。我真的很想学习 Windows 的 x86 汇编语言,也许是 MASM,但我不知道从哪里开始。
首先是IDE。如果可能的话,我想要一个语法高亮、编译、链接的 IDE,因为我讨厌使用命令行工具。我确实有一个足够好的编辑器,所以只要有一个编译器和链接器 GUI 就可以了。有人有什么建议吗?
我还需要一些关于组装的好的教程,所以如果有人知道好的组装介绍,请发布一个链接。

I have a solid knowledge of C#, I can use C quite well, and I am learning C++. I really would like to learn x86 assembly language for Windows, perhaps MASM, but I don't know where to start.
The first thing is the IDE. If at all possible I would like a syntax-highlighting, compiling, linking IDE, as I hate using command-line tools. I do have a nice enough editor, so just a compiler and linker GUI would also be fine. Does anybody have any recommendations?
I also am going to need some good tutorials on assembly, so if anyone knows of a good assembly intro, please post a link.

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

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

发布评论

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

评论(5

秋意浓 2024-12-04 11:47:03

您可以使用许多汇编器 MASMNASM,ObjASM,YASMHLATASM 其中。就我个人而言,我使用 MASM 因为它可以完成我需要的一切,并且宏允许您轻松地从 C 风格代码转换到 MASM。

如前所述,Iczelion 页面 是一个极好的资源。如果您想要一个致力于 Windows 汇编编程的小组,请尝试 ASM 社区留言板。尽管有批评者,我也相信 Kip R. Irvine 的书是其中之一MASM 中涵盖 Windows 开发的最佳内容。

对于语法突出显示,我建议使用 Notepad++。对于组装,您可以使用我在这个问题中发布的批处理文件: MASM32 的 Qeditor 中的项目选项不起作用

汇编编程非常有趣。问很多问题,祝你好运。

There are a number of assemblers you can use MASM, NASM, ObjASM, YASM, HLA, and TASM among them. Personally, I use MASM because it does everything I need and the macros allow you to transition from C style code to MASM pretty easily.

As stated earlier, Iczelion's Page is an excellent resource. If you want a group dedicated to Windows assembly programming try the ASM Community Message Board. Despite its detractors, I also believe that Kip R. Irvine's book is one of the best out there covering windows development in MASM.

For syntax highlighting, I would suggest Notepad++. For assembling, you can use the batch file I posted in this question: Project Options in Qeditor of MASM32 isn't working

Assembly programming is a lot of fun. Ask lots of questions and good luck.

粉红×色少女 2024-12-04 11:47:03

我知道一些值得学习的书。我不确定在线教程。您会发现有些材料有点过时,请务必小心。

I know of some books that are good to learn from. I am not sure of online tutorials. Some of the material you will find is a little outdated just be cautious.

童话里做英雄 2024-12-04 11:47:03

Iczelion 页面 几乎是您进行 Win32Asm 编程所需的全部内容。有关汇编的介绍,请参阅Randy Hyde 的页面

Iczelion's Page is almost all you need for Win32Asm programming. For an introduction in assembly look at Randy Hyde's Page

静谧幽蓝 2024-12-04 11:47:03

既然您已经熟悉 C#,那么您应该熟悉 Visual Studio 2010 IDE。我的博客介绍了如何使用 MASM32.com 的库配置 VS 2010 以进行 MASM32 编程。 scriptbucket.wordpress.com

Since you are already familiar with c# then you should be comfortable with the Visual Studio 2010 IDE. My blog describes how to configure VS 2010 for MASM32 programming with libraries from MASM32.com. scriptbucket.wordpress.com

喜爱纠缠 2024-12-04 11:47:03

我一开始是在大学学习 MIPS,所以转向 x86 并不难,但需要大量的学习。
我建议您购买或寻找一本可靠的 x86 asm 书籍,其中甚至包含所需的所有数学基础知识(逻辑门、布尔代数、数字编码、浮点等)
作为IDE,我建议您使用SASM或Visual Masm,甚至Visual Studio也可以改编为Masm IDE。

I started by learning MIPS in my university so switching to x86 is not that hard but it requires a lot of study.
I suggest to you to buy or look for a solid and big book of x86 asm that contains even all the math basics required (logic gates, boolean algebra, numeric encoding, floating point etc.)
As ide i suggest to you to use SASM or visual masm, even visual studio can be adapted as a masm ide.

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