Re: C code .vs. Assembly code for Microcontrollers/DSPs ?

Andrew Cruickshank <andrew@memex.co.uk>
4 Mar 1996 09:13:09 -0500

          From comp.compilers

Related articles
C code .vs. Assembly code for Microcontrollers/DSPs ? ravindra@hal.com (1996-03-01)
Re: C code .vs. Assembly code for Microcontrollers/DSPs ? dstarr@pop-3.std.com (David J. Starr) (1996-03-03)
Re: C code .vs. Assembly code for Microcontrollers/DSPs ? mwilliam@duncan.cs.utk.edu (1996-03-03)
Re: C code .vs. Assembly code for Microcontrollers/DSPs ? eyal@dsp.co.il (Eyal Ben-Avraham) (1996-03-03)
Re: C code .vs. Assembly code for Microcontrollers/DSPs ? jens.hansson@mailbox.swipnet.se (1996-03-03)
Re: C code .vs. Assembly code for Microcontrollers/DSPs ? torbenm@diku.dk (1996-03-04)
Re: C code .vs. Assembly code for Microcontrollers/DSPs ? andrew@memex.co.uk (Andrew Cruickshank) (1996-03-04)
Re: C code .vs. Assembly code for Microcontrollers/DSPs ? fink@post.tau.ac.il (1996-03-05)
Re: C code .vs. Assembly code for Microcontrollers/DSPs ? torbenm@diku.dk (1996-03-05)
Re: C code .vs. Assembly code for Microcontrollers/DSPs ? hatrjo@hat-fi.kone.com (Risto Jokinen) (1996-03-05)
Re: C code .vs. Assembly code for Microcontrollers/DSPs ? max@gac.edu (1996-03-06)
Re: C code .vs. Assembly code for Microcontrollers/DSPs ? rhn@sgi.com (Ron Nicholson) (1996-03-06)
Re: C code .vs. Assembly code for Microcontrollers/DSPs ? yatesc@csee.usf.edu (1996-03-06)
[43 later articles]
| List of all articles for this month |
From: Andrew Cruickshank <andrew@memex.co.uk>
Newsgroups: comp.compilers,comp.dsp
Date: 4 Mar 1996 09:13:09 -0500
Organization: MR-Memex Ltd.
References: 96-03-006 96-03-031
Keywords: DSP, optimize

Eyal Ben-Avraham wrote:
> This code efficiency gap also exists for C compilers on
> Workstations/PC's, the main difference is in 2 issues:
>
> 1. The average application size on microcontrollers or DSPs is small.
> So it can easily be written manually.
>
> 2. Reducing the application size on embedded microcontrollersor/DSP's
> can cause reduction in product price and improved performance.
> since these products are sold in large quantities, any manual effort
> to improve the application coding is worthwhile.


Cost is everything in mass produced embedded systems. Ultimately a
really tight microcontroller design is as likely to be designed bottom
up as top down in order to meet a functional spec. at the
price. Compilers can decide the code translation but not the
component/resource mix and a winning product may utilise standard
components in unorthodox ways that a compiler designer wouldn't
imagine in his worst nightmares.


------------
Andrew.
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.