??? 07/21/09 07:41 Read: times |
#167646 - Just try some modern tools. Responding to: ???'s previous message |
Richard Erlacher said:
Now, that's not quite the case. I've written a few pretty serious app's, a number of simulators and a couple of assemblers, linkers, and loaders, but that was back in the days when Turbo C was new. Prior to that, I used Turbo Pascal, when it was new. I've also written a few pretty neat simulators in Prolog with pieces in 'C'. All that was on the PC, and back in the mid-late '80's. I've only done a little 805x (Maybe 500k lines) programming, in ASM, since most (>90%) of my programming was on other micros, before Windows and much of it before the PC. I have fiddled with the PIC, disliked the AVR from the get-go, and haven't had to program the ARM because I had a software team. My role with ARM stuff has been mostly hardware and as project manager. Is Renesas a microcontroller? I thought it was a software house. I did look at their compiler at one time.
As I suggested earlier, it would be worth your while investigating the modern tool chains. If you have written simulators and assemblers in C, then you will have good experience in those techniques that are useful with microcontrollers. You should be able to pick up quickly with your experience. I freely admit to NO experience with TI, Samsung, Fujitsu ... microcontrollers. However I am aware of their existence. If an 8051 is not ideal, I would make the effort to assess these other families. You can't assume that just because it's ASM, it's messy, nor can you assume that just because it's HLL, it well-structured and well organized.
Yes. I agree with you entirely. You can have good and bad in any language. I've seldom had an 805x app much larger than 5k lines, aside from table space, though some of those have had difficulty fitting in 32kB. Once you've bought the extra code space, you might as well use it.
Classifying an ASM program by the number of source code lines is marginally better than quoting the number of pre-processed HLL lines. So assuming you mean less than 8192 bytes of code space, this implies that you can achieve the price advantage of an 8k to 16k chip. And this size is quite manageable in ASM. Although I would never attempt to port to another cpu. It would be simpler to re-write. David. |