??? 01/12/10 20:43 Read: times |
#172388 - The MSP430 has a bigger instruction set Responding to: ???'s previous message |
The MSP430 has a bigger instruction set but 16 bit instructions and a bigger set. So it can do more per instruction, but they take up more space. It does not have bit instructions (I do not think it does) so those may be bigger.
I am not sure how one would expect the code size to be the same from one CPU to the next. I mean if the origional program had a lot of 16 and 32 math the MSP430 may win. but if it was mostly bit manipulation the 8052 may win. But yes if the code has int's where char's could be used the MSP430 would not care, but the 8052 would generate more code than needed. but even then if the code size were the same it is a coincidence. |
Topic | Author | Date |
Code Size Reduction | 01/01/70 00:00 | |
Keil guidance | 01/01/70 00:00 | |
if you are not ... | 01/01/70 00:00 | |
Cross-post | 01/01/70 00:00 | |
Try Hitex's C51 Primer | 01/01/70 00:00 | |
pardon? | 01/01/70 00:00 | |
I guess ... | 01/01/70 00:00 | |
my guess | 01/01/70 00:00 | |
Erik, your guess is correct | 01/01/70 00:00 | |
Your guess can't be correct | 01/01/70 00:00 | |
but it can be the base of the statement | 01/01/70 00:00 | |
RE: The standard C51 program wastes a lot of memory | 01/01/70 00:00 | |
IAR Optimization | 01/01/70 00:00 | |
relative to Keil? | 01/01/70 00:00 | |
! Apple 2 Apple | 01/01/70 00:00 | |
Apples and Oranges? | 01/01/70 00:00 | |
if 'identical' source, then ... | 01/01/70 00:00 | |
The MSP430 has a bigger instruction set | 01/01/70 00:00 | |
if it was mostly bit manipulation the 8052 may win.![]() | 01/01/70 00:00 |