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

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

问题描述

我已经用Python很长一段时间了,我绝对喜欢的易用性和灵活性,但我真的想获得更接近硬件为我工作的一些数学ITER。我也如此接近的硬件,以绝对没有阻止你使用它的一切很感兴趣。

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.

推荐答案

正如其他人所说,从喜欢的ç / C ++ 是一个良好的开端。熟悉他们的特点,如指针,引用的位掩码的,等等,然后尝试装配

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.

一个教程中,我真正喜欢的是 PC组装教程(拉链PDF可以发现的here )这里找到。直到你创建并运行一个简单的程序,并调试它,这将是很难理解组装。

One tutorial I really like is the PC Assembly Tutorial (the zipper 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.

更重要的是,了解你的冯·诺依曼计算机体系结构以及其他背景资料是非常重要的:处理器设计,的memory设计总线架构,各种缓存二进制数字系统和操作等,这是不可能理解不装配您正在使用的数学和你是编程对硬件的深入了解,因为你是如此接近硬件在该级别编程时。

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.

在许多情况下,更容易了解上更简单的处理器。我第一次知道在Java模拟器其中使用的x86指令集,具有更少的寄存器的简单衍生,然后上升到编程的一<一href=\"https://web.archive.org/web/20141122190615/http://www.mgtek.com/miniide/resources/hc12.aspx\">Motorola MC68HC12 工程板。

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天全站免登陆