Author Topic: Can avr-objdump show arch-specific registry names instead of generic rXXX ?  (Read 961 times)

0 Members and 1 Guest are viewing this topic.

Offline VinzC

  • Regular Contributor
  • *
  • Posts: 188
  • Country: be
  • See you later, oscillator.
Hi all.

I'm coding for the ATmega54M1 and I haven't been able to figure out how to get registry names for that MCU from avr-objdump. Does anyone know if that's possible at all? If yes, what option should I pass?

Thanks in advance for any hint or suggestion.
 

Online westfw

  • Super Contributor
  • ***
  • Posts: 3488
  • Country: us
I don't think it's possible.
Most of the register names accessible to C are #defines rather than actual symbols.  Which typically allows better compile-time optimization.
Hold on; I think Clawson on avrfreaks might have done something recently...  Hah!  http://www.avrfreaks.net/forum/bit-fun-new-way-program-avrs-beta-testers-invited?skey=symbols
 
The following users thanked this post: VinzC

Offline VinzC

  • Regular Contributor
  • *
  • Posts: 188
  • Country: be
  • See you later, oscillator.
I don't think it's possible.
Most of the register names accessible to C are #defines rather than actual symbols.  Which typically allows better compile-time optimization.
Hold on; I think Clawson on avrfreaks might have done something recently...  Hah!  http://www.avrfreaks.net/forum/bit-fun-new-way-program-avrs-beta-testers-invited?skey=symbols

Thanks a lot, westfw. It's not as straightforward as I'd have hoped but, well, there's at least an existing solution. I'll read that carefully.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf