bugAVR 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

Fri 25 Jan 2008 05:08:49 PM UTC, original submission:  

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.

Gre7g Luterman <hafeliel>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arcanum (Updated the item)
  • -email is unavailable- added by hafeliel (Submitted the item)
  •  

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-03-17 arcanum Percent Complete0% 100%
        Assigned toNone arcanum
        Open/ClosedOpen Closed
    2008-03-17 arcanum StatusNone Fixed
    2008-03-08 arcanum Severity3 - Normal 2 - Minor
        Priority5 - Normal 7 - High

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code