| ??? 03/28/05 14:46 Read: times |
#90542 - hauling assembler Responding to: ???'s previous message |
In one case where I have to haul ass(embler), I have to use assembler with a one clocker running at 50MHz. This is because C does not know of "smart tricks" such as using 4 buffers that all start on a 256 byte page memory and thus only one update of the Ri pointer is required. Also, C does not "know of" the fact that with the above a simple zero test of Ri for updating the page registers will suffice.
I think (note "think", not "know") that I can generalize that if no "smart trick" can be implemented, there is rarely any large advantage in using assembler over (Keil) C. I state "(Keil) C" because I have had bad experiences with some others at a time when the above was true for Keil, but since I have not had any opportunity for an extensive comparison for years, I can not state any facts as to the efficiency of others in their current version. Erik |
| Topic | Author | Date |
| 8051 in C or assembly? | 01/01/70 00:00 | |
| Probably C | 01/01/70 00:00 | |
| Always C | 01/01/70 00:00 | |
| Mostly 'C' | 01/01/70 00:00 | |
| No magic wand | 01/01/70 00:00 | |
| Assembler when? | 01/01/70 00:00 | |
| Shared data problem?? | 01/01/70 00:00 | |
| Shared Data Problem | 01/01/70 00:00 | |
| I see | 01/01/70 00:00 | |
| Sared Data | 01/01/70 00:00 | |
| addendum | 01/01/70 00:00 | |
| Shared Data | 01/01/70 00:00 | |
| Knowledge, not language. | 01/01/70 00:00 | |
| Knowledge | 01/01/70 00:00 | |
| Knowledge | 01/01/70 00:00 | |
| Promotion | 01/01/70 00:00 | |
| Promotion | 01/01/70 00:00 | |
| Promotion | 01/01/70 00:00 | |
| Traps for the unwary | 01/01/70 00:00 | |
| Preaching | 01/01/70 00:00 | |
| Ditto | 01/01/70 00:00 | |
| red rag.... | 01/01/70 00:00 | |
Bend over then... | 01/01/70 00:00 | |
| hauling assembler | 01/01/70 00:00 | |
| Clarification | 01/01/70 00:00 | |
| Keil Allows this to be disabled | 01/01/70 00:00 | |
| Know your tools | 01/01/70 00:00 | |
| It means 8 bit may be 16 bits | 01/01/70 00:00 | |
| More knowledge! | 01/01/70 00:00 | |
| not really | 01/01/70 00:00 | |
| So which... | 01/01/70 00:00 | |
| Calculations in C | 01/01/70 00:00 | |
| ibid | 01/01/70 00:00 | |
| Not always.. | 01/01/70 00:00 | |
| Example | 01/01/70 00:00 | |
| Better?? | 01/01/70 00:00 | |
| assembly | 01/01/70 00:00 | |
| YMMV | 01/01/70 00:00 | |
| assembly | 01/01/70 00:00 | |
| Hitting the Wall | 01/01/70 00:00 |



