On 01.07.2012 16:12, Michael Hawkins wrote: > Can > anyone point me a general direction to begin?
Look at the structure of the existing ports: Is the 8085 similar enough to one so th eports can share a lot of code (hc08 and s08 similar enough to each other; z80, z180, gbz80, r2k and r3ka are similar enough to each other). If not you need to write a new backend. Look at the exisiting ones first. The main things you will need are code generation and register allocation. Other stuff, such as the peephole optimizer rules and optimized library functions should be done later, once the port is capable of producing working code and passes the regression tests. You'll also need an assembler and simulator. Look at sdas and ucsim for example if you need to write them. Philipp ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
