about summary refs log tree commit diff stats
path: root/subx/apps/crenshaw2-1.subx
Commit message (Collapse)AuthorAgeFilesLines
* 4763 - back to the 'trivial' crenshaw2-1 compilerKartik Agaram2018-11-231-2/+422
| | | | | This time I've ported (and test-driven) 'GetChar' and 'GetNum'. The new tests bring together our new testable interfaces for read() and exit().
* 4733Kartik Agaram2018-10-281-1/+1
|
* 4731Kartik Agaram2018-10-281-6/+6
|
* 4729Kartik Agaram2018-10-281-38/+50
| | | | | | Start injecting all dependencies in the Crenshaw compiler app. In the process I realized the non-fake code path of 'stop' had a bug.
* 4710Kartik Agaram2018-10-171-8/+8
| | | | | Start using write() instead of _write().. and we promptly find a typo when dealing with real file descriptors.
* 4699Kartik Agaram2018-10-141-43/+16
|
* 4698Kartik Agaram2018-10-141-4/+4
|
* 4668Kartik Agaram2018-10-051-6/+6
|
* 4667Kartik Agaram2018-10-051-9/+9
| | | | | Standardize on hyphens in all names. And we'll use colons for namespacing labels in functions.
* 4662Kartik Agaram2018-10-051-1/+1
|
* 4655Kartik Agaram2018-10-021-2/+2
|
* 4644Kartik Agaram2018-10-011-13/+13
|
* 4638 - extract some common libraries from appsKartik Agaram2018-10-011-323/+3
| | | | | | | I'm still trying to figure out what the defaults should be. At the moment you have to explicitly pass in every file you want loaded into the output binary. Maybe that control is a good thing. The examples need no libraries so far.
* 4624Kartik Agaram2018-09-301-1/+1
| | | | | | | | Start requiring a '-o' flag to designate the output binary when translating. Things currently get funky if you pass in multiple inputs, but that's ok. This is the first step to supporting multiple input files for a single output binary.
* 4518Kartik Agaram2018-09-241-36/+76
|
* 4517Kartik Agaram2018-09-241-8/+8
|
* 4516Kartik K. Agaram2018-09-241-4/+14
| | | | | | | More calling convention tweaks. Use EBP to get consistently at parameters and locals. Always put the first function argument closest to EBP.
* 4510Kartik Agaram2018-09-231-4/+270
| | | | | Add the test harness to the crenshaw compiler. Though we aren't calling it yet. But that's because we aren't actually doing anything useful yet.
* 4509Kartik Agaram2018-09-231-19/+4
| | | | Back to the Crenshaw compiler. Start by using string literals.
* 4581Kartik Agaram2018-09-211-8/+8
| | | | | | | | | | | | Even more cuddling. We want to keep lines short where the opcode and operands are self-explanatory. If there are any implicit registers, etc., we'll continue to do the table layout. The first two columns look messy now; let's see how this goes. Maybe I'll give up on the tabular layout altogether, just string args with a single space.
* 4576Kartik Agaram2018-09-211-6/+6
|
* 4560Kartik Agaram2018-09-201-0/+3
|
* 4559Kartik Agaram2018-09-201-0/+16
|
* 4558Kartik Agaram2018-09-201-1/+1
|
* 4557Kartik Agaram2018-09-201-4/+17
|
* 4556Kartik Agaram2018-09-201-10/+58
|
* 4555Kartik Agaram2018-09-201-3/+2
|
* 4553Kartik Agaram2018-09-201-0/+55
Start of a new example program.