1
13
一种方法是使用
$ cd ~/arduino-0015/examples/Digital/Blink/applet $ avr-objdump -d Blink.elf (显然,您在Windows上的路径可能不同。)这将生成代码的反汇编,其中的一部分将类似于这样: 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> |
2
6
如果您使用的是Linux,您可以按照 this tutorial on how to compile for the Arduino without the IDE . 一旦您这样做了,就可以通过运行带有-s标志的gcc来获得程序集列表。 |
3
3
以下(hacky)步骤将在Windows上提供Arduino草图和相关库的汇编语言列表:
汇编语言列表可以在
|
4
0
-s(not s)标志也显示C代码。也称为混合列表: linux:(.arduino/preferences.txt:delete_target_folder=false)
|
Ilya Loskutov · 无法将单词加载到寄存器中 2 年前 |
Ari157 · x86_64 Linux程序集中的逻辑与实现 2 年前 |
Arya · 汇编语言中的“标签”——操作码 2 年前 |
S1mple · 通过gcc生成64位共享库时的“未定义的主引用” 2 年前 |
R0M2 · 为什么“GCC”忽略汇编代码的-fno pic 2 年前 |
Akagi Akira · 如何在gnu汇编程序中组装MIPS cpu 2 年前 |