[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] local labels in gcc assembler
From: |
Michal Vanka |
Subject: |
[avr-gcc-list] local labels in gcc assembler |
Date: |
Sun, 25 Jan 2004 11:10:22 +0100 |
Hi all,
I have several subroutines in my ass.S assembler module (nothing unusual 8-).
I would like to use same names for labels in different subroutines, such as:
.func sub1
sub1: if_something
breq zero
ret
zero: do_something
ret
.endfunc
.func sub2
sub2: if_something
breq zero
ret
zero: do_something
ret
.endfunc
So far I have had to distinguish between first and second zero label,
because that code generates following assembler error message:
Error: symbol 'zero' is already defined
Does someone have an idea how to solve that?
Thanks.
Michal Vanka
http://www.vanka.net
----- Original Message -----
From: nurdin <address@hidden>
To: <address@hidden>
Sent: Saturday, January 24, 2004 8:10 AM
Subject: Re: [avr-gcc-list] power on mega 103
> dear peter and all,
> u're right, finally i could program my mega103 after connecting rxd and txd.
> thanx alot for all help and responses.
> nice to have lots of gurus like u all
>
> regards,
> Nurdin
>
> ----- Original Message -----
> From: "Peter Bosscha" <address@hidden>
> To: <address@hidden>; <address@hidden>
> Sent: Friday, January 23, 2004 1:59 PM
> Subject: Re: [avr-gcc-list] power on mega 103
>
>
> > Hi,
> >
> > PEN does not need to be connected.
> > Please note that to program you need to connect RXD0 and TXD0 (NOT mosi
> > & miso), ATMEL caught me the first time too..
> >
> > Regards
> > Peter
> >
> > >>> "nurdin" <address@hidden> 23/01/2004 08:52:55 >>>
> > im using value added isp dongle. i've connected:
> > -sck, mosi,miso,rst
> > -two pairs of vcc - gnd
> > -avcc - agnd
> > -xtal1 & xtal2
> > -PEN to vcc (set high)
> >
> > is there something left?
> > thanx for all your responses.
> > regards,
> >
> > Rakhmat Nurdin
> >
> > ----- Original Message -----
> > From: "Joerg Wunsch" <address@hidden>
> > To: <address@hidden>
> > Sent: Wednesday, January 21, 2004 12:29 PM
> > Subject: Re: [avr-gcc-list] power on mega 103
> >
> >
> > > As "nurdin" <address@hidden> wrote:
> > >
> > > >it is said that the power is not connected. beside two
> > > >pair vcc-gnd, should i connect avcc and agnd in programming mode?
> > >
> > > Of course, otherwise you risk the device to break.
> > >
> > > However, I somehow don't think that's your actual problem.
> > > --
> > > J"org Wunsch Unix support engineer
> > > address@hidden
> > http://www.interface-systems.de/~j/
> > >
> > >
> >
> >
> >
> > _______________________________________________
> > avr-gcc-list mailing list
> > address@hidden
> > http://www.avr1.org/mailman/listinfo/avr-gcc-list
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> > MailScanner thanks transtec Computers for their support.
>
>
>
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
>
Re: [avr-gcc-list] power on mega 103, nurdin, 2004/01/23
Re: [avr-gcc-list] power on mega 103, Peter Bosscha, 2004/01/23
Re: [avr-gcc-list] power on mega 103, nurdin, 2004/01/23
Re: [avr-gcc-list] power on mega 103, nurdin, 2004/01/23
Re: [avr-gcc-list] power on mega 103, nurdin, 2004/01/24
- [avr-gcc-list] local labels in gcc assembler,
Michal Vanka <=
- RE: [avr-gcc-list] local labels in gcc assembler, Marc Wetzel, 2004/01/25
- Re: [avr-gcc-list] local labels in gcc assembler, Bruce D. Lightner, 2004/01/25
- Message not available
- Re: [avr-gcc-list] local labels in gcc assembler, Clemens Buchacher, 2004/01/29
- Re: [avr-gcc-list] local labels in gcc assembler, Erik Christiansen, 2004/01/29
- Re: [avr-gcc-list] local labels in gcc assembler, Clemens Buchacher, 2004/01/30