什么是学习大会的最佳方法?具体来说,对于有动态语言经验的人 [英] What is the best way to learn Assembly? Specifically, for someone who has experience in dynamic languages

查看:135
本文介绍了什么是学习大会的最佳方法?具体来说,对于有动态语言经验的人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用Python一段时间,我绝对喜欢使用和灵活性,但是我真的想要更接近于我正在研究的一些迭代数学的硬件。我也很喜欢靠近硬件,绝对没有什么让你不再使用它所有的东西。



我已经研究了大会的介绍,我们比他们要快得多。他们直接进入注册和操作,而不解释他们是什么,以及为什么他们很重要。



我很想看到一个深入的大会介绍,

解决方案

正如其他人所说,从较低的层次开始语言如 C / C ++ 是一个好的开始。熟悉自己的功能,如指针,参考资料,位掩码等,然后尝试装配



我真正喜欢的一个教程是 PC Assembly Tutorial (PDF可以找到 here )在这里找到。在创建并运行一个简单的程序并进行调试之前,很难理解程序集。



更重要的是,知道你的冯诺依曼 电脑架构和其他背景信息非常重要:处理器设计内存设计公共汽车架构,各种缓存二进制数字系统和操作等。不可能理解装配与对您正在使用的数学和您正在编程的硬件有一个坚实的了解,因为在该级别进行编程时,您非常接近硬件。



在许多情况下在更简单的处理器上学习更容易。我首先学习了一个Java模拟器,它使用x86指令集的更简单的衍生工具,使用较少的寄存器,然后转到摩托罗拉MC68HC12 项目板。


I've been using Python for quite some time now, and I absolutely love the ease of use and flexibility, but I really want to get closer to the hardware for some iter mathematics that I'm working on. I'm also intrigued by being so close to the hardware, with absolutely nothing holding you back from using everything it has.

I've researched for introductions to Assembly and to me they go much faster than they should. They jump straight into registers and operations without explaining what exactly they are, and why they matter.

I'd love to see an in-depth introduction to Assembly, to make sure you understand the concepts before proceeding to any kind of programming with it.

解决方案

As others have said, starting with a lower level language like C/C++ is a good start. Familiarize yourself with their features, like pointers, references, bitmasks, etc., and then attempt assembly.

One tutorial I really like is the PC Assembly Tutorial (the PDF can be found here) found here. Until you create and run a simple program, and debug it, it will be difficult to understand assembly.

More importantly, knowing your Von Neumann computer architecture and other background information is extremely important: processor design, memory design, bus architecture, various caches, the binary number system and operations, etc. It is impossible to understand assembly without a solid understanding of the math you are using and the hardware you are programming on, because you are so close to the hardware when programming at that level.

In many cases it's easier to learn on a simpler processor. I learned first on a Java simulator which used a simpler derivative of the x86 instruction set, with fewer registers, then moved up to programming on a Motorola MC68HC12 project board.

这篇关于什么是学习大会的最佳方法?具体来说,对于有动态语言经验的人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆