Yahoo Groups archive

AVR-Chat

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

Message

Re: Beginner

2004-10-18 by Phil

--- In AVR-Chat@yahoogroups.com, Kathy Quinlan <kat-yahoo@k...> wrote:
...  <snip>

> It is said that C is quick, but I recently went head to head with a C 
> engineer and out coded him in ASM. The only reason I did was that I 
> write ASM like C ie I make modules in ASM, with a text block at the top 
> of each module that says what I expect to be sent, what I destroy and 
> what I expect to send back:

If you are talking about AVR or VAX architectures (or maybe x86), I
would tend to agree.  However, if you are writing for PIC or 286 or
other gawdawful architectures, nooooooo way.  The going gets way slow
when you have to contend with wierd constraints like banking,
segmentation, non-symetrical instructions, perverse flow of control
(like bit test status + skip on the PIC) and so on.  

By the way, with a good set of macros, a capable asm programmer can
really pound out the code.

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.