Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: ASM vs. C

2009-01-15 by David VanHorn

> Twice almost-zero is still almost zero. This is not a "substantial"
> improvement as has been claimed.

I've built systems where I had to scratch for every instruction.. LOTS
of code re-use, and still barely fit it in the device.
"buy a larger chip" is the classic answer, but $0.25 * a few million
is pretty significant money.


> A: Never. The time saved will be burned in a busy loop waiting on other
> things.

Could be..  In some applications, (NOT this one..) you're fighting for
speed, and literally need every cycle.
Buy a faster chip is the classic solution, see above, plus higher EMI
emissions and power consumption.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.