| ??? 04/05/00 10:49 Read: times |
#2094 - RE: Assembly Language vs C |
Hello Jay,
I use both assembler and C. The decision point was the project size: Below 4kB there is no fun on C, since its to fast to exeed this limit. So I use C on the 89C8252 (8kB Flash / 256B RAM) up to the 80C320 with external 64kB), but assembler on the 89C2051 (2kB / 128B). But for good C programming you need also good assembler experience. Otherwise your code was often slow, big and errorious. Especially the internal hardware (UART, timers, interrupts) can be better explored in assembler (it do exact, what you say, nothing more or less). Also for exact timing generation the assembler was unbeatable. So its the best, to be able to link assembler and C sources together. I use the Keil assembler and C (V5.02). Especially on micro typical applications (state machines, bit arithmetics, handling i/o port pins) the code looks effective (near assembler). And arithmetic (e.g. division) was very effective implemented (I looked at this with a simulator). Unfortunately the compiler was very expensive. And the eval version was not usable for devices with internal Flash/OTP, only for download to the eval board (since linked at 4000h). Peter |
| Topic | Author | Date |
| Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
| RE: Assembly Language vs C | 01/01/70 00:00 | |
RE: Assembly Language vs C | 01/01/70 00:00 |



