bugAVR C Runtime Library - Bugs: bug #42001, 6.3 The first Assambler Example...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #42001: 6.3 The first Assambler Example Program has wrong Labels for the Jumps.

Submitter:  zool <zool>
Submitted:  Sun 30 Mar 2014 09:53:05 AM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Invalid Assigned to:  joerg_wunsch
Percent Complete:  0% Open/Closed:  Closed
Release:  1.8.0 Fixed Release:  None

Sun 30 Mar 2014 10:13:14 AM UTC, comment #1: 

Sorry, this is wrong.  The labels used there are local labels.

Please learn about the concept of Unix assembler local labels
here:

https://sourceware.org/binutils/docs/as/Symbol-Names.html#Symbol-Names

Btw., the example has been tested on hardware. ;-)

Joerg Wunsch <joerg_wunsch>
Group administrator
Sun 30 Mar 2014 09:53:05 AM UTC, original submission:  

Chapter 6.3 page 33,34: The first Assembler Example Program has wrong Labels for the Jumps.
On the Homepage: "avr-libc and assembler programs"
http://www.nongnu.org/avr-libc/user-manual/assembler.html
"The following annotated example features a simple 100 kHz square wave generator using an AT90S1200 clocked with a 10.7 MHz crystal. Pin PD6 will be used for the square wave output."

The Labels are named: 1,1,2... -> After a short look on the relative jumps the labels should be: 1b,1f,2f

zool <zool>

 

(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 joerg_wunsch (Posted a comment)
  • -email is unavailable- added by zool (Submitted the item)
  • -email is unavailable- added by zool
  •  

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-30 joerg_wunsch StatusNone Invalid
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
    2014-03-30 zool Carbon-Copy- Added zool

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code