bugAVR C Runtime Library - Bugs: bug #22119, Misleading statement in FAQ

 
 

bug #22119: Misleading statement in FAQ

Submitted by:  Gre7g Luterman <hafeliel>
Submitted on:  Fri 25 Jan 2008 05:08:49 PM UTC  
 
Category: DocumentationSeverity: 2 - Minor
Priority: 7 - HighItem Group: Documentation
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: NoneFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 17 Mar 2008 06:14:34 PM UTCarcanumPercent Complete0%=>100%
      Assigned toNone=>arcanum
      Open/ClosedOpen=>Closed
    Mon 17 Mar 2008 06:14:33 PM UTCarcanumStatusNone=>Fixed
    Sat 08 Mar 2008 02:29:01 PM UTCarcanumSeverity3 - Normal=>2 - Minor
      Priority5 - Normal=>7 - High

    Back to the top


    Powered by Savane 3.1-cleanup1