Reply by microbit March 3, 20042004-03-03
Hi Jim.

This group doesn't tend to get into flame wars over compilers (at least,
not 
_on_ the forum, hum), maybe the occasional C vs ASM round and round debate, 
so no worries.
Anyways, I've done quite a bit of CG testing on the HI-Tech C compiler, and
found
that the code generation was quite good.
That was expected, considering HiTech C provide a compiler that is able
to produce suprisingly excellent code on a dog MCU like a PIC.
Specific things I like (off-the cuff) eg. is C statements like this :
......
if (foo & 0x01) return 1;
else return 0;
....
would reduce it to a register load of 0 and then skip loading 1 or not 
before returning.
I thought that was nifty, of course a
return (foo&0x01); 
would make more sense, but the compiler figures such things out for you.
This is just a simple example, try yourself and see if it fancies you I guess..
I found Hi Tech C to especially handle intensive bit operations really well, 
considering MSP430 is a bit weak on that.

-- Kris


----- Original Message ----- 
From: "Jim Dodd" <bcbuilderboy@bcbu...>
To: <msp430@msp4...>
Sent: Friday, February 27, 2004 3:29 AM
Subject: [msp430] Hi-Tech C Compiler


> I'm new to this group and new to the MSP430.
I don't want to stir up
> trouble, but has anyone had good or bad experiences with the Hi-Tech C
> Compiler for the MSP430? I didn't see anything in the group guidelines
> about whether "reviews" of products are encouraged or
discouraged. I
> know some groups discourage this because it can lead to flame wars.
> 
> The reason I ask is that I noticed you have a nice variety of C
> compilers listed in the Links section but the Hi-Tech compiler is not
> listed. Is that because it is new? I see there is at least one
> employee of Hi-Tech on this list and found it odd that the product
> isn't listed.
> 
> Thanks for any help.
> 
> 
> 
> 
> 
> .
> 
> 
> 
> 
> 
> --------
> . 
> 
> 




Beginning Microcontrollers with the MSP430

Reply by Jim Dodd February 26, 20042004-02-26
I'm new to this group and new to the MSP430. I don't want to stir
up
trouble, but has anyone had good or bad experiences with the Hi-Tech C
Compiler for the MSP430? I didn't see anything in the group guidelines
about whether "reviews" of products are encouraged or discouraged. I
know some groups discourage this because it can lead to flame wars.

The reason I ask is that I noticed you have a nice variety of C
compilers listed in the Links section but the Hi-Tech compiler is not
listed. Is that because it is new? I see there is at least one
employee of Hi-Tech on this list and found it odd that the product
isn't listed.

Thanks for any help.