eeprom_read_byte returns a uint8_t. Why does it clear r25?
eerd_byte.S:
        clr     ret_hi

Does the AVR ABI require that r25 be zeroed in a function returning a
single byte? If not, this instruction could be removed.

Cheers,
Shaun


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

Reply via email to