Advice needed on GCC port to new (virtual) architecture

gareth@autopia.garethnelson.com gareth@autopia.garethnelson.com
Tue Jul 5 14:51:00 GMT 2005


I am currently working on a VM and would like to port gcc to it in order to simplify the creation of software.
The VM simulates a processor with a stack pointer (SP), 16 General Purpose Registers, Accumulator and built-in multitasking.
The instruction set is turing complete and implements stack, conditional branching, unconditional branching and console I/O.

I would like to generate asm code which can be fed into my own custom assembler and then assembled into flat binary files.
Does anyone have advice on a similar platform which i can hack on the gcc source for?



More information about the Gcc mailing list