about summary refs log tree commit diff stats
path: root/subx/050_write.subx
Commit message (Collapse)AuthorAgeFilesLines
* 4981 - no, go back to 3 phasesKartik Agaram2019-02-181-2/+2
| | | | | | | | | | | | | Considering how much trouble a merge phase would be (commit 4978), it seems simpler to just add the extra syntax for controlling the entry point of the generated ELF binary. But I wouldn't have noticed this if I hadn't taken the time to write out the commit messages of 4976 and 4978. Even if we happened to already have linked list primitives built, this may still be a good idea considering that I'm saving quite a lot of code in duplicated entrypoints.
* 4888Kartik Agaram2018-12-291-3/+3
| | | | We only can't use rm32=5 when mod=0. Totally fine when it's mod=1.
* 4881Kartik Agaram2018-12-281-1/+1
|
* 4832Kartik Agaram2018-12-041-0/+1
| | | | | | Let's start adding ':end' labels in all functions, just because it helps us visualize where function calls end in traces, thanks to the '--map' commandline argument.
* 4820Kartik Agaram2018-12-021-1/+1
|
* 4802Kartik Agaram2018-11-301-12/+12
| | | | | | | | | | | | | | | | Some automated commenting cleanup. Still needs more careful manual scanning. sed -i 's/^# 1-3/# . 1-3/' *.subx */*.subx sed -i 's/^# op/# . op/' *.subx */*.subx sed -i 's/# vim/# . . vim/' *.subx */*.subx sed -i 's/^ # push args/ # . . push args/' *.subx */*.subx sed -i 's/^ # discard args/ # . . discard args/' *.subx */*.subx sed -i 's/^ # call/ # . . call/' *.subx */*.subx sed -i 's/^ # prolog/ # . prolog/' *.subx */*.subx sed -i 's/^ # epilog/ # . epilog/' *.subx */*.subx sed -i 's/^ # save registers/ # . save registers/' *.subx */*.subx sed -i 's/^ # restore registers/ # . restore registers/' *.subx */*.subx sed -i 's/ operand / register /' *.subx */*.subx
* 4801Kartik Agaram2018-11-301-32/+32
| | | | Reindent all SubX code to make some room for the new comment style.
* 4780Kartik Agaram2018-11-261-1/+0
|
* 4759Kartik Agaram2018-11-201-2/+2
|
* 4705Kartik Agaram2018-10-161-1/+1
|
* 4702Kartik Agaram2018-10-161-0/+2
|
* 4701Kartik Agaram2018-10-161-0/+44