From: Mike McCarty (jmccarty_at_ssd.usa.alcatel.com)
Date: 2000-11-30 17:24:04
On Thu, 30 Nov 2000, Ullrich von Bassewitz wrote: > > On Thu, Nov 30, 2000 at 01:35:26AM -0500, Todd Vierling wrote: > > Gcc can be targeted to an 8-bit target quite easily; it's the guts of > > implementation that is difficult, but only because it is tedious to flesh > > out all the various RTL instructions for 16-bit and 32-bit quantities > > (particularly to reduce code size with known constant values that fit into > > smaller int sizes). The compiler is so flexible that you could conceivably > > have compiler options to provide several different machine modes; one to use > > cc65 register and stack conventions, one to use a bunch of "virtual > > registers", one to use a virtual stack, one to use completely vanilla 6502 > > everything, and so forth. > > My assumption was based on some statements from the porting manual, on the > fact that there is no known gcc port to any 8 or 16 bit machine, and on the > fact that the existing gcc6502 port emulates some sort of 24 bit CPU. I have > to admit that I have never tried porting gcc myself, and I did not have a look > at the backend myself, so I may be wrong. There are *two* ports of gcc to the MC68HC11. [snip] BTW, I want to do a port of LCC to the MC68HC11. Where may I get the LCC port for the 6502? It seems to me that the 68HC11 and the 6502 are sufficiently similar that the 6502 port would give me a big boost. Mike
This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:37 CET