我怎样才能在Windows上我的Arduino素描汇编语言列表? [英] How can I get an assembly language listing of my Arduino Sketches on Windows?
本文介绍了我怎样才能在Windows上我的Arduino素描汇编语言列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望能看到我的Arduino草图汇编语言列表。我怎样才能做到这一点?
I would like to be able to see an assembly language listing of my Arduino sketches. How can I achieve this?
更新:我运行在Windows计算机上的软件的Arduino
Update: I am running the Arduino Software on a Windows machine.
推荐答案
要做到这一点的方法之一是使用 AVR-objdump的
在。通过构建创建精灵
文件。例如,在OS X上我可以做到这一点:
One way to do this is to use avr-objdump
on the .elf
file created by the build. For example, on OS X I can do this:
$ cd ~/arduino-0015/examples/Digital/Blink/applet
$ avr-objdump -d Blink.elf
(你在Windows上的路径可能会有所不同,很明显。)这将产生code,其中一部分会是这个样子的拆卸:
(Your path on Windows may be different, obviously.) This produces a disassembly of the code, part of which will look something like this:
0000013a <main>:
13a: 0e 94 3e 01 call 0x27c <init>
13e: 0e 94 97 00 call 0x12e <setup>
142: 0e 94 80 00 call 0x100 <loop>
146: fd cf rjmp .-6 ; 0x142 <main+0x8>
这篇关于我怎样才能在Windows上我的Arduino素描汇编语言列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文