At 14:07 -0700 4/2/03, Rick Jenkins wrote:
I just ported a small MSP430F149 C project from the IAR compiler to the mspgcc
one. With 2115 lines total in .c and .h files, and no floating point, using
-O2 it compiles to
text data bss dec hex
2974 6 82 3062 bf6
Hence ROM is 2980 bytes, RAM is 88 bytes.
By comparison, IAR produced
3 184 bytes of CODE memory
88 bytes of DATA memory
Hence ROM is 4% larger under IAR, RAM is unchanged.
Which version of IAR? v1.26B, or v2.10A?
In our comparisons of the various commercial MSP430 compilers (w/IAR
v1.26B), the Archelon / Quadravox and Rowley Associates compilers
came out on top, ROM-wise. RAM usage was the same for all six Salvo
tutorials. The results can be seen buried in the "Compiler Reference
Manuals" on our site.
I don't know how IAR v2.10A compares to v1.26B.
Regards,
--
______________________________________
Andrew E. Kalman, Ph.D.
Salvo(TM), The RTOS that runs in tiny places(TM)
Pumpkin, Inc.
750 Naples Street
San Francisco, CA 94112
tel: (415) 584-6360
fax: (415) 585-7948
web: http://www.pumpkininc.com
email: [email protected]