Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #27839

Re: [AVR] What assembler to use?

From David Brown <david.brown@hesbynett.no>
Newsgroups comp.arch.embedded
Subject Re: [AVR] What assembler to use?
Date 2018-06-18 11:32 +0200
Organization A noiseless patient Spider
Message-ID <pg7u6s$guo$2@dont-email.me> (permalink)
References <pg2eoi$15t3$1@gioia.aioe.org> <pg65pr$4ml$2@dont-email.me> <pg7ln1$183f$1@gioia.aioe.org> <pg7msg$8d9$1@dont-email.me> <pg7r5e$1ibd$1@gioia.aioe.org>

Show all headers | View raw


On 18/06/18 10:40, Johann Klammer wrote:
> On 06/18/2018 09:27 AM, David Brown wrote:
>>
>> Yes it can.
>>
>> Use ".altmacro" instead of ".macro", and you can make local names and
>> labels using "LOCAL name".  You can also use numeric local labels, or
>> \@ for a macro invocation number.
>>
> LOCAL seems to work... I remember having problems 
> with the numeric labels before...nesting?
> 

If you have nested macros in your assembly with multiple loops, you are
probably over-complicating things.

> It's maybe best to just forget about avra then...
> 

I'd say so, yes.

But I would also recommend forgetting about gas - and forgetting about
writing code in assembly.  You need a really god reason to be writing
anything more than tiny snippets in assembly these days.

Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[AVR] What assembler to use? Johann Klammer <klammerj@NOSPAM.a1.net> - 2018-06-16 09:37 +0200
  Re: [AVR] What assembler to use? David Brown <david.brown@hesbynett.no> - 2018-06-17 19:29 +0200
    Re: [AVR] What assembler to use? Johann Klammer <klammerj@NOSPAM.a1.net> - 2018-06-18 09:07 +0200
      Re: [AVR] What assembler to use? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2018-06-18 10:18 +0300
        Re: [AVR] What assembler to use? David Brown <david.brown@hesbynett.no> - 2018-06-18 11:29 +0200
          Re: [AVR] What assembler to use? John Speth <johnspeth@yahoo.com> - 2018-06-18 09:39 -0700
            Re: [AVR] What assembler to use? David Brown <david.brown@hesbynett.no> - 2018-06-18 18:44 +0200
            Re: [AVR] What assembler to use? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2018-06-18 22:48 +0300
        Re: [AVR] What assembler to use? Przemek Klosowski <przemek@tux.dot.org> - 2018-06-18 13:44 +0000
      Re: [AVR] What assembler to use? David Brown <david.brown@hesbynett.no> - 2018-06-18 09:27 +0200
        Re: [AVR] What assembler to use? Johann Klammer <klammerj@NOSPAM.a1.net> - 2018-06-18 10:40 +0200
          Re: [AVR] What assembler to use? David Brown <david.brown@hesbynett.no> - 2018-06-18 11:32 +0200
            Re: [AVR] What assembler to use? Grant Edwards <invalid@invalid.invalid> - 2018-06-18 14:11 +0000
      Re: [AVR] What assembler to use? Michael Bäuerle <michael.baeuerle@stz-e.de> - 2018-06-18 09:50 +0200
      Re: [AVR] What assembler to use? upsidedown@downunder.com - 2018-06-18 18:54 +0300

csiph-web