Hello Everbody,

like Oleg I had the problem with the documentation. A while ago I downloaded everything and started to edit it with OpenOffice for my personal use. If there is some interest I would send it to the admin as soon as I can finish it. I hope it is ready for the public by the next weekend.

Regards

Christian



mspgcc-users-requ...@lists.sourceforge.net wrote:

Send Mspgcc-users mailing list submissions to
        mspgcc-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/mspgcc-users
or, via email, send a message with subject or body 'help' to
        mspgcc-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        mspgcc-users-ad...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mspgcc-users digest..."


Today's Topics:

   1. Documentation correction (Oleg Skydan)
   2. Re: Documentation correction (Steve Underwood)

--__--__--

Message: 1
From: "Oleg Skydan" <ski...@mail.ints.net>
To: "MSP430 GCC" <mspgcc-users@lists.sourceforge.net>
Date: Sun, 16 Nov 2003 16:44:52 +0200
Subject: [Mspgcc-users] Documentation correction
Reply-To: mspgcc-users@lists.sourceforge.net

Hi, All !

I have found an error in the inline assembler documentation (Chapter 6.1).

If we define an inline assembler code, that takes variable foo as input and output we should write:

    asm("add %[bar],%[foo]"
        : [foo] "=r" (foo)
        : "[foo]" (foo), [bar] "m" (bar));

or
    asm("add %1,%0"
        : "=r" (foo)
        : "0" (foo),  "m" (bar));

instead of
   asm("add %[bar],%[foo]"
        : [foo] "=r" (foo)
        : [foo] "r" (foo), [bar] "m" (bar));

as written in the docs.

My msp-gcc does not compile the code from the docs. Here is it's output:

s.c:8: duplicate asm operand name 'foo'

BTW, are there any possibility to download the whole documentation as single file or archive ?

All the best !
Oleg



--__--__--

Message: 2
Date: Mon, 17 Nov 2003 09:47:31 +0800
From: Steve Underwood <ste...@coppice.org>
To: mspgcc-users@lists.sourceforge.net
Subject: Re: [Mspgcc-users] Documentation correction
Reply-To: mspgcc-users@lists.sourceforge.net

Hi Oleg,

Now fixed in CVS.

Regards,
Steve

Oleg Skydan wrote:


Hi, All !

I have found an error in the inline assembler documentation (Chapter 6.1).

If we define an inline assembler code, that takes variable foo as input and output we should write:

  asm("add %[bar],%[foo]"
      : [foo] "=r" (foo)
      : "[foo]" (foo), [bar] "m" (bar));

or
  asm("add %1,%0"
      : "=r" (foo)
      : "0" (foo),  "m" (bar));

instead of
 asm("add %[bar],%[foo]"
      : [foo] "=r" (foo)
      : [foo] "r" (foo), [bar] "m" (bar));

as written in the docs.

My msp-gcc does not compile the code from the docs. Here is it's output:

s.c:8: duplicate asm operand name 'foo'

BTW, are there any possibility to download the whole documentation as single file or archive ?

All the best !
Oleg



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users









--__--__--

_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users


End of Mspgcc-users Digest



Reply via email to