From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,33dd5febb8fc0fd0 X-Google-Attributes: gid1164f8,public X-Google-Thread: 110292,33dd5febb8fc0fd0 X-Google-Attributes: gid110292,public X-Google-Thread: 102b75,cf27a69d65b9f023 X-Google-Attributes: gid102b75,public X-Google-Thread: 114917,3464230e1f77760b X-Google-Attributes: gid114917,public From: jbuck@synopsys.com (Joe Buck) Subject: Re: Why people accept bad computers Date: 1997/06/04 Message-ID: <5n2rio$rb5@hermes.synopsys.com>#1/1 X-Deja-AN: 245983414 References: <5lbm3p$qgn$1@nnrp1.crl.com> <5mn95m$3l3$1@andros.cygnus.com> Organization: Synopsys Inc., Mountain View, CA 94043-4033 Newsgroups: comp.sys.dec,comp.sys.intel,comp.arch,comp.lang.asm.x86 jcoffin@taeus.com (Jerry Coffin) writes: >For instance, consider a typical microcontroller application - a CPU >built into a CD player. It likely contains about 2 kilobytes of code, >which is all it will ever run the entire time exists. Quite possibly >a few million CD players using the same control module will be sold. >Once code is written for a particular embedded application, it is >rarely if ever upgraded. 2 kB is probably off by a factor of ten or more; your CD player has a good bit more program ROM than that in it. But yes, it's small. Actually, in many cases the next generation, shipped about a year later, is an upgraded version of pieces of the same code. >So, we have an _extremely_ small amount of programming involved, even >though a huge number of CPUs are sold using that programming. It takes far longer to produce embedded assembly code that must meet hard real-time requirements than to produce PC or workstation code; there's a hell of a lot of engineering time involved in cranking the stuff out. I wouldn't be surprised if the effort difference, per kbyte of object code, is a factor of 100 or more. (At one time I ground out real-time DSP assembly language speech compression code, at a time where it took wierd hardware to do 8 million multiply-adds a second, which I guess is revealing my age. Total brain-fry). -- -- Joe Buck http://www.synopsys.com/pubs/research/people/jbuck.html Help stamp out Internet spam: see http://spam.abuse.net/spam/