Forums

how to convert ads to iar?

Started by lzh08 May 21, 2007
who could tell me?thx

lzh08 <cppcpldfpga@gmail.com> wrote:
> who could tell me?thx >
I'm sure lots of consultants could, for the usual hourly consideration. How much are you paying? best regards Pete -- pete@fenelon.com "how many clever men have called the sun a fool?"
In article <1179732737.322113.259380@b40g2000prd.googlegroups.com>, 
lzh08 <cppcpldfpga@gmail.com> writes
>who could tell me?thx >
Lots of people. I could. Why should I? Try char one = 'a'; char two ='d'; char three ='s'; char four = 8; char five = 3; char six =1; one = 0ne + four; two = two -five; three = three - six; -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

lzh08 wrote:
> who could tell me?thx >
ADS is RF design suit. IAR is embedded workbench. It wouldn't be too simple to make a conversion... Vladimir Vassilevsky DSP and Mixed Signal Design Consultant http://www.abvolt.com
In article <1179732737.322113.259380@b40g2000prd.googlegroups.com>,
lzh08 <cppcpldfpga@gmail.com> writes
>who could tell me?thx >
Run this.... not pretty but it converts ads to iar ! (I even used an IAR EWB to do it :-) #include <stdio.h> int main(void ) { char one = 'a'; char two ='d'; char three ='s'; char four = 8; char five = 3; char six =1; printf("%c %c %c \n", one, two, three); one = one + four; two = two -five; three = three - six; printf("%c %c %c \n", one, two, three); return 0; } -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Vladimir Vassilevsky <antispam_bogus@hotmail.com> wrote:
> > > lzh08 wrote: >> who could tell me?thx >> > > ADS is RF design suit.
Nope. ARM Developer Suite. ;) pete -- pete@fenelon.com "how many clever men have called the sun a fool?"
In article <h8RSzJGOTaUGFA1z@phaedsys.demon.co.uk>, Chris Hills
<chris@phaedsys.org> writes
>In article <1179732737.322113.259380@b40g2000prd.googlegroups.com >>, lzh08 <cppcpldfpga@gmail.com> writes >>who could tell me?thx
/* how to convert ads to iar? */ /* the invoice is in the post */ /* next converting ghs to iar */ /* "keil" to "iar" will need some thinking about */ /* Some one else can do "windriver" to "iar" :-) */ #include <stdio.h> int main(void ) { char one = 'a'; char two ='d'; char three ='s'; char four = 8; char five = 3; char six =1; printf("%c %c %c \n", one, two, three); one = one + four; two = two -five; three = three - six; printf("%c %c %c \n", one, two, three); return 0; } -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
In article <43n8i4-p4o.ln1@fenelon.com>, Pete Fenelon 
<pete@stratos.fenelon.com> writes
>Vladimir Vassilevsky <antispam_bogus@hotmail.com> wrote: >> >> >> lzh08 wrote: >>> who could tell me?thx >>> >> >> ADS is RF design suit. > >Nope. ARM Developer Suite. ;) >
I think he knows that. He is just being perverse like the rest of us. Anyway I provided a hard coded solution in C using EWB :-) -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Chris Hills wrote:
> /* "keil" to "iar" will need some thinking about */
No problem. #include <stdio.h> int main() { char x[6]; fgets(x, 6, stdin); printf("%c%c%c\n", x[2], x[1] - 4, x[0]+x[3]-x[1]); return 0; } Even works for upper-case :-) Stefan
In article <f2sl6q.1o4.1@stefan.msgid.phost.de>, Stefan Reuther 
<stefan.news@arcor.de> writes
>Chris Hills wrote: >> /* "keil" to "iar" will need some thinking about */ > >No problem. > >#include <stdio.h> >int main() { > char x[6]; > fgets(x, 6, stdin); > printf("%c%c%c\n", x[2], x[1] - 4, x[0]+x[3]-x[1]); > return 0; >} > >Even works for upper-case :-)
Any one want to try "windriver" to" iar"? :-) -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/