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

0 Members and 2 Guests are viewing this topic.

Offline VinzCTopic starter

  • Frequent Contributor
  • **
  • Posts: 284
  • 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.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4315
  • 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 VinzCTopic starter

  • Frequent Contributor
  • **
  • Posts: 284
  • 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