about summary refs log tree commit diff stats
path: root/subx/examples/ex8.subx
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 4516Kartik K. Agaram2018-09-241-4/+4
| | | | | | | More calling convention tweaks. Use EBP to get consistently at parameters and locals. Always put the first function argument closest to EBP.
* 4503Kartik Agaram2018-09-221-6/+0
| | | | Include LEA (load effective address) in the SubX subset of x86 ISA.
* 4591Kartik Agaram2018-09-221-3/+3
|
* 4590Kartik Agaram2018-09-221-1/+1
|
* 4581Kartik Agaram2018-09-211-1/+1
| | | | | | | | | | | | 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.
* 4580Kartik Agaram2018-09-211-4/+4
| | | | | Since we're cuddling jump/call args next to the opcode, we can have longer labels without messing up the layout!
* 4577Kartik Agaram2018-09-211-1/+1
|
* 4576Kartik Agaram2018-09-211-3/+3
|
* 4569Kartik Agaram2018-09-211-2/+2
|
* 4561Kartik Agaram2018-09-201-1/+1
|
* 4531 - automatically compute segment addressesKartik Agaram2018-09-011-1/+1
|
* 4530 - create an apps/ directoryKartik Agaram2018-09-011-89/+51
|
* 4529 - move examples to a sub-directoryKartik Agaram2018-09-011-0/+99