Commit Graph

9 Commits

Author SHA1 Message Date
Jeremy Rand
f8d884f5f9 Get my first test source file compiling into valid ORCA/M assembly source. 2016-05-13 22:56:40 -04:00
Jeremy Rand
30e52d00c8 Get rid of the .size stuff in the assembly output and format the instructions better. 2016-04-22 00:05:07 -04:00
Jeremy Rand
48276b8f1f Add code to emit the case, keep and segment start/end directives in the output assembly file. Indent the instructions as ORCA/M expects. 2016-04-20 23:48:48 -04:00
Jeremy Rand
f0e0e4ec4a Start creating the infrastructure for producing valid assembly for ORCA/M or Merlin. 2016-04-19 23:39:53 -04:00
Jeremy Rand
2253ae62fc Get the answerToTheUltimateQuestion() function to compile to something approximating 65816 assembly. With this commit, I can compile the simplest of functions but it is a start. 2016-04-07 23:15:53 -04:00
Jeremy Rand
4862a6612b Add placeholder implementations of a couple more methods. At this point, I can "compile":
int theAnswer(void)
{
return 42;
}

It compiles in the sense that clang executes to the end without crashing but the .s file it produces is useless.  But another small step forward.
2015-07-30 23:29:36 -04:00
Jeremy Rand
b11140166b Add some logs to help trace what i happening when executing. 2015-07-28 23:15:15 -04:00
Jeremy Rand
26846cab41 I have no idea why I thought I did't need a subtarget. I do need one so I have added it. 2015-07-17 23:57:48 -05:00
Jeremy Rand
8c1a0d70be Lots of basic infrastructure. And get it compiling. 2015-07-17 20:05:36 -05:00