piclist 2007\03\12\062924a >
Thread: Why bother with Assembly?
face picon face BY : Alan B. Pearce email (remove spam text)

>> - PIC projects are often small enough not to get many benefits from
>> an HLL - for example a recent project I did was a "flickering candle",
>> it's about 20 lines of ASM, hardly worth going to C


>Statistics say that American programmers produce about 50 lines of
>'good' code per day (including debug time). So your asm program
>should have taken almost half a day,

His flickering candle would probably take about that long I would guess.

>and the C program a tenth of a day.

For a program of that size, I would suggest that it would probably also take
around half a day ...

I do seriously wonder how well the metric scales down to very small
programs. I can see that the metric would work for large programs, but to my
mind, when you come to small programs there are other things that would tend
to overshadow the generality of the metric.

<023d01c76491$49fc3750$1979f682@space.rl.ac.uk> 7bit

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Why bother with Assembly?

month overview.

new search...