Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.arch.embedded > #27845
| From | Tauno Voipio <tauno.voipio@notused.fi.invalid> |
|---|---|
| Newsgroups | comp.arch.embedded |
| Subject | Re: [AVR] What assembler to use? |
| Date | 2018-06-18 22:48 +0300 |
| Organization | A noiseless patient Spider |
| Message-ID | <pg92ag$4bl$1@dont-email.me> (permalink) |
| References | (1 earlier) <pg65pr$4ml$2@dont-email.me> <pg7ln1$183f$1@gioia.aioe.org> <pg7mbh$4u2$1@dont-email.me> <pg7u26$guo$1@dont-email.me> <pg8n9k$19pf$1@gioia.aioe.org> |
On 18.6.18 19:39, John Speth wrote: >> However, I think it is good practice to include the "volatile". It is >> also important to note that compiler can re-order and re-arrange >> assembly instructions and other code, within certain limitations. > > GCC has a pragma that allows you to selectively disable optimization. I > use it when crafting code that I need to take total control of execution > (for example, bit banging). > > JJS -Os works pretty well even there. I have plenty of bit-banging on GCC, using AVR's and different ARM's, without a hitch. Of course, in critical parts, it is common sense to read the generated assembly listings. -- -TV
Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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