AVR C Runtime Library - Bugs: bug #22119, Misleading statement in FAQ
You are not allowed to post comments on this tracker with your current authentication level.
bug #22119: Misleading statement in FAQ
Submitter: | Gre7g Luterman <hafeliel> | ||
Submitted: | Fri 25 Jan 2008 05:08:49 PM UTC | ||
Category: | Documentation | Severity: | 2 - Minor |
Priority: | 7 - High | Item Group: | Documentation |
Status: | Fixed | Assigned to: | arcanum |
Percent Complete: | 100% | Open/Closed: | Closed |
Release: | None | Fixed Release: | None |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follow 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2008-03-17 | arcanum | Percent Complete | 0% | 100% | |
Assigned to | None | arcanum | |||
Open/Closed | Open | Closed | |||
2008-03-17 | arcanum | Status | None | Fixed | |
2008-03-08 | arcanum | Severity | 3 - Normal | 2 - Minor | |
Priority | 5 - Normal | 7 - High |
Powered by Savane 3.13-02a9.
Corresponding source code
Please see the end of section:
http://www.nongnu.org/avr-libc/user-manual/FAQ.html#faq_reg_usage
The docs say:
"8-bit return values are zero/sign-extended to 16 bits by the caller..."
IIRC, it is the responsibility of the called function (the callee) to clear r25 when returning a single byte, and not the caller.