Hi, Is there any useful software to translate C code to assembly code? It would be better if it is suitable for Motorola DSP 56002. Thanks!
any software to translate C code to assembly code?
Started by ●May 14, 2005
Reply by ●May 14, 20052005-05-14
AIplus wrote:> Hi, > > Is there any useful software to translate C code to assembly code? > > It would be better if it is suitable for Motorola DSP 56002. > > Thanks! >They're called compilers. It's a fairly new technology -- they've only been around since the 1950's. ------------------------------------------- Tim Wescott Wescott Design Services http://www.wescottdesign.com
Reply by ●May 15, 20052005-05-15
in article 118darkaqiu6g29@corp.supernews.com, Tim Wescott at tim@seemywebsite.com wrote on 05/14/2005 21:52:> AIplus wrote: >> >> Is there any useful software to translate C code to assembly code? >> >> It would be better if it is suitable for Motorola DSP 56002. >> > They're called compilers. It's a fairly new technology -- they've only > been around since the 1950's.probably the specific compiler he would need would be the Tasking one if the target is DSP56K. (i didn't realize there were too many DSP56002 targets in continuing development anymore and i consider myself a sorta dinosaur.) Alplus, unless the issues are scaling the algorithm to work in fixed-point (and i can't directly see how a C compiler will make that easier for you), it really isn't that hard to code your algorithm in 56K assembly. i consider it still the easiest DSP assembly instruction set programming model around. not the largest or most powerful, just the easiest, conceptually. i know there are SHArC and TI partisans that may disagree. it might be cheaper to hire someone to code whatever it is you want coded than to buy a Tasking C compiler for the 56K. maybe there's a pre-owned one out there somewhere. -- r b-j rbj@audioimagination.com "Imagination is more important than knowledge."
Reply by ●May 15, 20052005-05-15
Tim Wescott wrote:> AIplus wrote: > >> Hi, >> >> Is there any useful software to translate C code to assembly code? >> >> It would be better if it is suitable for Motorola DSP 56002. >> >> Thanks! >> > They're called compilers. It's a fairly new technology -- they've only > been around since the 1950's.Actually, C compilers came a bit later. At one time, when programs were loaded from the front panel by flipping switches one per bit -- someone developed an "automatic program generator". It's what we now call an assembler. Macro and linking assemblers came later. Jerry -- Engineering is the art of making what you want from things you can get. �����������������������������������������������������������������������
Reply by ●May 15, 20052005-05-15
Jerry Avins wrote: (someone wrote)>> They're called compilers. It's a fairly new technology -- they've >> only been around since the 1950's.> Actually, C compilers came a bit later. At one time, when programs were > loaded from the front panel by flipping switches one per bit -- someone > developed an "automatic program generator". It's what we now call an > assembler. Macro and linking assemblers came later.The technology is almost 50 years old. I have a copy of the 704 Fortran manual dated October 15th, 1956. I don't know that it is the first edition. -- glen
Reply by ●May 16, 20052005-05-16
Jerry Avins wrote:> Tim Wescott wrote: > >> AIplus wrote: >> >>> Hi, >>> >>> Is there any useful software to translate C code to assembly code? >>> >>> It would be better if it is suitable for Motorola DSP 56002. >>> >>> Thanks! >>> >> They're called compilers. It's a fairly new technology -- they've >> only been around since the 1950's. > > > Actually, C compilers came a bit later. At one time, when programs were > loaded from the front panel by flipping switches one per bit -- someone > developed an "automatic program generator". It's what we now call an > assembler. Macro and linking assemblers came later. > > JerryTim said compilers, not specifically C ones. Fortran and Cobol compilers were already maturing in the late 50s. C compilers only came later because C was developed in the early 70s. It was developed from things like Algol and BCPL. Algol compilers existed around 1960 (hence the Algol60 spec.) and by 1968 were huge monsters (ever worked with Algol68?). Regards, Steve
Reply by ●May 16, 20052005-05-16
glen herrmannsfeldt wrote:> Jerry Avins wrote: > > (someone wrote) > >>> They're called compilers. It's a fairly new technology -- they've >>> only been around since the 1950's. > > >> Actually, C compilers came a bit later. At one time, when programs >> were loaded from the front panel by flipping switches one per bit -- >> someone developed an "automatic program generator". It's what we now >> call an assembler. Macro and linking assemblers came later. > > > The technology is almost 50 years old. I have a copy of the 704 Fortran > manual dated October 15th, 1956. I don't know that it is the first > edition.I could look it up, but I'm lazy. When was C written? Jerry -- Engineering is the art of making what you want from things you can get. �����������������������������������������������������������������������
Reply by ●May 16, 20052005-05-16
Jerry Avins <jya@ieee.org> writes:> glen herrmannsfeldt wrote: > > Jerry Avins wrote: > > (someone wrote) > > > > > >>> They're called compilers. It's a fairly new technology -- they've > >>> only been around since the 1950's. > > > > > >> Actually, C compilers came a bit later. At one time, when programs were loaded from the front panel by flipping switches one per bit -- > >> someone developed an "automatic program generator". It's what we > >> now call an assembler. Macro and linking assemblers came later. > > > The technology is almost 50 years old. I have a copy of the 704 > > Fortran > > > manual dated October 15th, 1956. I don't know that it is the first > > edition. > > > I could look it up, but I'm lazy. When was C written?I think you're closer to the truth Jerry. Also, Glen, we're talking about "C" here, not Fortran. My second edition of Kernighan and Ritchie's "The C Programming Language" lists the first edition of the book as 1978 and intimates that was when the language was defined. I've heard it said that it was developed in the 70's. I can't give an authoritative answer or reference. -- Randy Yates Sony Ericsson Mobile Communications Research Triangle Park, NC, USA randy.yates@sonyericsson.com, 919-472-1124
Reply by ●May 16, 20052005-05-16
Randy Yates <randy.yates@sonyericsson.com> writes:> [...] > My second edition of Kernighan and Ritchie's "The C Programming Language" > lists the first edition of the book as 1978 and intimates that was when > the language was defined. I've heard it said that it was developed in > the 70's. I can't give an authoritative answer or reference.This article states it "came into being" in the years 1969-1973. http://cm.bell-labs.com/cm/cs/who/dmr/chist.html -- Randy Yates Sony Ericsson Mobile Communications Research Triangle Park, NC, USA randy.yates@sonyericsson.com, 919-472-1124
Reply by ●May 16, 20052005-05-16
Randy Yates wrote: (snip)> I think you're closer to the truth Jerry. Also, Glen, we're talking > about "C" here, not Fortran.The statement was that the technology was 50 years old. The specific implementations weren't, obviously, that old. C is likely much easier to write a parser for than Fortran. -- glen






