Follow-up Comment #3, bug #32945 (project avr-libc):

If someone fixes this issue, please don't forget to reset RAMPZ to 0 after
changing it.  This is necessary for devices that have RAMPD.  Otherwise,
reading vom RAM using indirect Z addressing might read from the wrong address.
 For devices without RAMPD, RAMPZ need not to be reset to 0.

Cf. also the notes on RAMPx in the GCC docs at
http://gcc.gnu.org/onlinedocs/gcc/AVR-Options.html

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?32945>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to