global variables in SRAM?

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

if I do something like this:

void (*fnc[2])(void) = { SetCurrent, CurrentCtlOff };

Will gcc generate code which initialize the global variables placed in the SRAM? Do you know any program (linux) what is able to disasemble an AVR ROM image?

admin's test signature