I participated in a port to an 8-bit internet toaster 4 years ago (the Ubicom IP2k chip).
It's distributed as part of the gcc-3.x releases, but has been dropped from the gcc-4.x distributions. The IP2k was a very restrictive environment, and it took a lot of work to get it to generate really tight code. I'd definely suggest looking at gcc/config/ip2k to see how we did it.... -----Original Message----- >From: Nemanja Popov <[EMAIL PROTECTED]> >Sent: Apr 5, 2006 9:50 AM >To: gcc@gcc.gnu.org >Subject: GCC port for V8-uRISC (8 bit CPU) > >Hi, > >Can somebody please explain to me is it reasonable and possible to port gcc >(version 4.xx) to 8 bit cpu architecture. >I would appreciate precise explanation why it is possible or not. > >CPU is V8-uRISC. > >V8-uRISC Features are: > > 8-bit ALU > 64K byte addressing capability > Accumulator (R0) > Seven 8-bit General Purpose Registers (R1-R7) > Multiple register banks are easily implemented > 16-bit Program Counter and Stack Pointer > >Thanks in advance for all informations. >Regards, >Nemanja Popov >