学习ARM汇编 [英] Learning ARM assembly

查看:141
本文介绍了学习ARM汇编的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这一年里会有未来夫妇包含的Tegra2子600€多点触控的便携式计算机。他们把我带到一个很好的借口,学习ARM汇编语言。但我不知道从何处拨出arm.com启动。

During this year there will be coming couple sub-600€ multi-touch portable computers that contain Tegra2. They bring me to a good excuse to learning ARM assembly language. But I have no clue where to start from aside the arm.com.

有关第一掷,我可以随便挑了它一个Linux发行版的仿真器。但仿真器和发行将工作最好在这一个?能够直接访问主机系统的文件,会好起来的,所以我可以编译和我的家目录直执行ARM二进制文件。

For first throw I could just pick up an emulator with a linux distribution in it. But which emulator and distro would work best on this one? Having access to the host system's files would be okay so I could compile and execute ARM binaries straight from my home-directory.

我不想浪费多少钱的书,所以我会需要一些汇编源$ C ​​$ C的例子和一个很好的免费介绍指令集。在x86编译ARM程序gcc编译器标志是还不错,但我可能会发现他们出自己为好。

I wouldn't want to waste much money to books so I'd need some assembly source code examples and a good free introduction to the instruction set. gcc compiler flags for compiling ARM programs on x86 would be also nice but I might find them out myself as well.

推荐答案

获取评估 ARM软件的一个版本工具包其中将包括一个调试器/软件仿真器。如果你愿意花几百元,获得一个手臂评估板(凯尔销售等等)。您可以通过JTAG接口测试电路板上的code,看看在真实的硬件发生了什么。

Obtain an evaluation version of of one of the arm software toolkits which will include a debugger/software emulator. If you're willing to spend a few hundred dollars, obtain an arm eval board (Keil sells a few). You can test your code on the board via a JTAG interface and see what happens on real hardware.

这应该让你朝着正确的方向

These should get your going in the right direction

披露:我工作的ARM

这篇关于学习ARM汇编的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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